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.
@@ -8,7 +8,7 @@ module OmniKassa
8
8
 
9
9
  REQUIRED = :merchant_id, :currency_code, :transaction_reference,
10
10
  :order_id, :amount, :normal_return_url, :key_version,
11
- :automatic_response_url
11
+ :automatic_response_url, :customer_language
12
12
 
13
13
  attr_accessor *REQUIRED
14
14
 
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'omni_kassa'
3
- s.version = '1.1.1'
3
+ s.version = '1.2.0'
4
4
  s.author = 'Pepijn Looije'
5
5
  s.email = 'pepijn@plict.nl'
6
6
  s.description = s.summary = 'Easier Rabobank OmniKassa payments'
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.1.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-05 00:00:00.000000000 Z
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