klarna-checkout 1.1.0 → 1.1.1

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: dcb82bc6f8a86362065616c56980e994b713efb3
4
- data.tar.gz: a05179022c7476475a1409dbd31b3468390393c4
3
+ metadata.gz: 2625382d75e0c3546376625acbb48bfa3e262d37
4
+ data.tar.gz: 5f0ef99528382d3e8eddb9fbab48b0b634d4bfe0
5
5
  SHA512:
6
- metadata.gz: 6bb0c40683e1a162d2dfd712dee6488017681a593f2cd13754f8231a62093e1cdca6d295acf6f334a15329398fd9101c3f0645296b4e03a4f99d9e8b214eac72
7
- data.tar.gz: d461df1a7064310aaac34df4b95be343121bd6f34c44933b4d1735c89aab69dbd21cbb4044c9fbfe6770fccea4fb656f4dae62e99bb9c44107357a6401f66ab3
6
+ metadata.gz: 0297e5a3afaeea8d27862390b3302c8d227f4bd58f0c5f413ea8cb83c5168065b1665cc78332c0933c7d6014cd73554799062d0f1c821780b86645fab9356d63
7
+ data.tar.gz: 0a351368f68606e52c3812f25289af2ffec0efa1ca3d7aad6aa0c7ff0505bfb915047550f6c0ef4bf9b382d0cbeca88e4cb60922e7d24f08a9b31568bd65c33c
@@ -31,6 +31,7 @@ module Klarna
31
31
  :purchase_currency => @purchase_currency,
32
32
  :locale => @locale,
33
33
  :cart => @cart.as_json,
34
+ :gui => @gui.as_json,
34
35
  :merchant => @merchant.as_json
35
36
  })
36
37
  end
@@ -1,5 +1,5 @@
1
1
  module Klarna
2
2
  module Checkout
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  end
@@ -171,6 +171,9 @@ describe Klarna::Checkout::Order do
171
171
  tax_rate: 2500
172
172
  }]
173
173
  },
174
+ gui: {
175
+ layout: 'desktop'
176
+ },
174
177
  merchant: {
175
178
  id: '666666',
176
179
  terms_uri: 'http://www.example.com/terms',
@@ -215,6 +218,12 @@ describe Klarna::Checkout::Order do
215
218
  its([:confirmation_uri]) { should eq 'http://www.example.com/confirmation_uri' }
216
219
  its([:push_uri]) { should eq 'http://www.example.com/push' }
217
220
  end
221
+
222
+ describe "gui" do
223
+ subject { json_hash[:gui] }
224
+
225
+ its([:layout]) { should eq 'desktop' }
226
+ end
218
227
  end
219
228
 
220
229
  describe "#to_json" do
@@ -1,5 +1,5 @@
1
1
  require 'klarna/checkout/version'
2
2
 
3
3
  describe Klarna::Checkout::VERSION do
4
- it { should eq '1.1.0' }
4
+ it { should eq '1.1.1' }
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: klarna-checkout
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Theodor Tonum