sofort 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f30c5d2a39ea108fcf7ce282c37fc73d380d17e7
4
- data.tar.gz: 3eed512f3ce28fc74302b89d5f530a8d7c9c7bf8
3
+ metadata.gz: 64ff1e16c72b3b75dec235c44745172c0f09566e
4
+ data.tar.gz: bdc9f94cf89ff780f49394b459b8e04d7387924a
5
5
  SHA512:
6
- metadata.gz: 1f10205c934e6590e59aa3b7659c5f423f0024079a56f387a1dc820aecfa589334ea72187839bcdd43ed6f4c0c866117050d4b7ffbd0a2353028abdc1da02a44
7
- data.tar.gz: 20ada87480f7d1836065d25d443dfcf4a9ba9d038c0235d4e244a5ed0958d827d64f311fda33bd9f148b3e1ebd238739e62d231f2e7843e248271e3cc1f6034e
6
+ metadata.gz: 75697c84df7a949045975eb5194f260c51396f648d75cb3cee8647cd38d11e17dc47630d4958fa6d622bfdf9d002c3bed0627525db7e1b6eb28775feea3c0050
7
+ data.tar.gz: f2f4642782a909321a81fab84bc3752472a8ec03c157b5c09c4c41800401c5e1a290d783fddf05880bb0289cfecf342e928d5d39b1c87f9bb20527f7bae83107
@@ -14,5 +14,6 @@ Sofort.setup do |config|
14
14
  config.currency_code = 'EUR'
15
15
  config.reason = 'Reason'
16
16
  config.user_variable = 'user_variable'
17
+ config.project_id = 'project_id'
17
18
 
18
19
  end
data/lib/sofort/client.rb CHANGED
@@ -57,6 +57,7 @@ module Sofort
57
57
  notification_email = opts[:notification_email] || Sofort.notification_email
58
58
  notification_url = opts[:notification_url] || Sofort.notification_url
59
59
  user_variable = opts[:user_variable] || Sofort.user_variable
60
+ project_id = opts[:project_id] || Sofort.project_id
60
61
 
61
62
  {
62
63
  amount: amount,
@@ -82,7 +83,7 @@ module Sofort
82
83
  success_url: success_url,
83
84
  abort_url: abort_url,
84
85
  su: '',
85
- project_id: Sofort.project_id
86
+ project_id: project_id
86
87
  }.to_xml(root: 'multipay', skip_types: true, dasherize: false)
87
88
 
88
89
  end
@@ -1,3 +1,3 @@
1
1
  module Sofort
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
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.3
4
+ version: 0.1.4
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-29 00:00:00.000000000 Z
11
+ date: 2015-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler