omni_kassa 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/omni_kassa/request.rb +1 -1
- data/lib/omni_kassa.rb +2 -1
- data/omni_kassa.gemspec +1 -1
- data/test_settings.rb +2 -1
- metadata +2 -5
- data/omni_kassa-1.0.0.gem +0 -0
- data/omni_kassa-1.0.1.gem +0 -0
- data/omni_kassa-1.1.0.gem +0 -0
data/lib/omni_kassa/request.rb
CHANGED
data/lib/omni_kassa.rb
CHANGED
@@ -2,7 +2,8 @@ require 'httparty'
|
|
2
2
|
require 'active_support/core_ext/string'
|
3
3
|
|
4
4
|
module OmniKassa
|
5
|
-
REQUEST_SETTINGS = :merchant_id, :currency_code, :transaction_reference
|
5
|
+
REQUEST_SETTINGS = :merchant_id, :currency_code, :transaction_reference,
|
6
|
+
:customer_language
|
6
7
|
SETTINGS = REQUEST_SETTINGS + [:secret_key, :url]
|
7
8
|
|
8
9
|
def self.config(settings)
|
data/omni_kassa.gemspec
CHANGED
data/test_settings.rb
CHANGED
@@ -3,6 +3,7 @@ OmniKassa.config(
|
|
3
3
|
merchant_id: '002020000000001',
|
4
4
|
currency_code: 978,
|
5
5
|
transaction_reference: lambda {|order_id| "omnikassatest#{Time.now.to_i}" },
|
6
|
-
url: 'https://payment-webinit.simu.omnikassa.rabobank.nl/paymentServlet'
|
6
|
+
url: 'https://payment-webinit.simu.omnikassa.rabobank.nl/paymentServlet',
|
7
|
+
customer_language: :nl
|
7
8
|
)
|
8
9
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omni_kassa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
@@ -142,9 +142,6 @@ files:
|
|
142
142
|
- ./lib/omni_kassa/response.rb
|
143
143
|
- ./lib/omni_kassa.rb
|
144
144
|
- ./LICENSE
|
145
|
-
- ./omni_kassa-1.0.0.gem
|
146
|
-
- ./omni_kassa-1.0.1.gem
|
147
|
-
- ./omni_kassa-1.1.0.gem
|
148
145
|
- ./omni_kassa.gemspec
|
149
146
|
- ./Rakefile
|
150
147
|
- ./README.md
|
data/omni_kassa-1.0.0.gem
DELETED
Binary file
|
data/omni_kassa-1.0.1.gem
DELETED
Binary file
|
data/omni_kassa-1.1.0.gem
DELETED
Binary file
|