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 +4 -4
- data/lib/klarna/configuration.rb +8 -17
- data/lib/klarna/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bea1dcaa8044f87bc66899559932481d01a5d789
|
4
|
+
data.tar.gz: 26f60080b9b74ab7c4862882c7542cc09af954b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a2bf85fecfe6d03182849cc5bfee6e8f3e24c58b17d256dd94e3474a80cc61523c70045b6072830239f9d2969834b9fe80acd5bfda0df3aed80d6e439517ea2
|
7
|
+
data.tar.gz: e83b0f3043e8591e1a765d836640bfb82f115954bdb20ddd0748273489d2f2a0cac3522262b8b8b9ca2ad6fbda667875722f0304efbfbf82eafb68b37b7229ed
|
data/lib/klarna/configuration.rb
CHANGED
@@ -5,23 +5,14 @@ module Klarna
|
|
5
5
|
def initialize
|
6
6
|
@country = :us
|
7
7
|
@environment = :production
|
8
|
-
@endpoints =
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
data/lib/klarna/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2017-05-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|