sofort 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e10d4485cbc38ca1b4d51d997e62ed564421201
4
- data.tar.gz: cf85b0bd03870fee5712ee84fb9a89f6084e99dc
3
+ metadata.gz: 890748caa0d2cd4ae86eb076b491aff748d2e0ef
4
+ data.tar.gz: 921c7dd8dfd70da3cc21f854d19426dd727cb02a
5
5
  SHA512:
6
- metadata.gz: 43d12697710785d8c4af848192ea69b735d177960b1245d8d17b5ea06c647725b4a9a061761d932ff0c0ead294b19c0cef4f9b888b3db8d745924e795d927115
7
- data.tar.gz: f85d608a247ef3a480b1b25b6cfe79ace81e15ab860b096d3f49712e2cd34aadc01e0bc118f7a3c0c012dd23a139c9b0950252918baa7f38782e83622706f6bd
6
+ metadata.gz: be1d733493f34243ca56c7dfcdd253ef6c8e24ad28450b0946153337f32ec8d28c0585eccd1e49591c024020d87ceecb463444d1e61b4934b9f9a8bc22063e2d
7
+ data.tar.gz: 4894a55e5f91e39aa6c2f38b4cf0080d12cb2b6268d4aa3e031193fe2c7d56eccaed582bcc6c30c961a3629ec9f134bd598b45063ce5badda506039482c84808
@@ -14,4 +14,6 @@ Sofort.setup do |config|
14
14
  config.currency_code = "EUR"
15
15
  config.reason = "Reason"
16
16
 
17
+ config.user_variable = 'user_variable'
18
+
17
19
  end
data/lib/sofort/client.rb CHANGED
@@ -55,6 +55,7 @@ module Sofort
55
55
  email_customer = opts[:email_customer] || Sofort.email_customer
56
56
  notification_email = opts[:notification_email] || Sofort.notification_email
57
57
  notification_url = opts[:notification_url] || Sofort.notification_url
58
+ user_variable = opts[:user_variable] || Sofort.user_variable
58
59
 
59
60
  {
60
61
  amount: amount,
@@ -67,6 +68,9 @@ module Sofort
67
68
  country_code: country_code
68
69
  },
69
70
  email_customer: email_customer,
71
+ user_variables: {
72
+ user_variable: user_variable
73
+ },
70
74
  notification_emails: {
71
75
  notification_email: notification_email
72
76
  },
@@ -1,3 +1,3 @@
1
1
  module Sofort
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sofort
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - skopu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-03 00:00:00.000000000 Z
11
+ date: 2015-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler