klarna_client 0.9.0 → 0.9.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: 0ee794ceba5b95a796a072c57c091c6dc0b06687
4
- data.tar.gz: 5446e167d72afc1cf6e0113b157685e7452b4445
3
+ metadata.gz: bea1dcaa8044f87bc66899559932481d01a5d789
4
+ data.tar.gz: 26f60080b9b74ab7c4862882c7542cc09af954b1
5
5
  SHA512:
6
- metadata.gz: 75ccfaa5cd285b42e7fff3c3c59949de8a6bc0994617f04442bf40d418dbbb189dc68323c0f9dcfe8170bb3901654fda11734ca8b58b05482db7f2a479be3565
7
- data.tar.gz: b341dfdbe3192a5ffe986405c89f487df21cd3dd8d3d90c5bcacc8db23c3757144c415b8f72c2dcb35682f55eb6665c5668352ed764f2fbe0d1d088c81ac7b02
6
+ metadata.gz: 4a2bf85fecfe6d03182849cc5bfee6e8f3e24c58b17d256dd94e3474a80cc61523c70045b6072830239f9d2969834b9fe80acd5bfda0df3aed80d6e439517ea2
7
+ data.tar.gz: e83b0f3043e8591e1a765d836640bfb82f115954bdb20ddd0748273489d2f2a0cac3522262b8b8b9ca2ad6fbda667875722f0304efbfbf82eafb68b37b7229ed
@@ -5,23 +5,14 @@ module Klarna
5
5
  def initialize
6
6
  @country = :us
7
7
  @environment = :production
8
- @endpoints = {
9
- us: {
10
- test: "https://api-na.playground.klarna.com",
11
- production: "https://api-na.klarna.com"
12
- },
13
- eu: {
14
- test: "https://api.playground.klarna.com",
15
- production: "https://api.klarna.com"
16
- },
17
- de: {
18
- test: "https://api.playground.klarna.com",
19
- production: "https://api.klarna.com"
20
- },
21
- uk: {
22
- test: "https://api.playground.klarna.com",
23
- production: "https://api.klarna.com"
24
- }
8
+ @endpoints = Hash.new(
9
+ test: "https://api.playground.klarna.com",
10
+ production: "https://api.klarna.com"
11
+ )
12
+ # US has a different host
13
+ @endpoints[:us] = {
14
+ test: "https://api-na.playground.klarna.com",
15
+ production: "https://api-na.klarna.com"
25
16
  }
26
17
  @version = :v1
27
18
  @debugger = false #$stdout
@@ -1,3 +1,3 @@
1
1
  module Klarna
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: klarna_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jose Antonio Pio Gil
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-05-08 00:00:00.000000000 Z
12
+ date: 2017-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler