klarna-xmlrpc 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/klarna.gemspec +1 -1
- data/lib/klarna/api/methods/reservation.rb +0 -11
- 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: f859d74f0bf8211fbcb0d69aa6f0229ba5361bff
|
4
|
+
data.tar.gz: 2702ef8c8df8fff6004ac4893ebeeb7400808a2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 395d0fc7cbdc982f757d89db4c9ddb78f7857510df53f56ac6aa4e0a2f5157bd5ae220e8756b734981e15289fcd9bf6a87bb5838ef1961367840a20088bd556b
|
7
|
+
data.tar.gz: 10c0bf9af80e14ce6212aca1bb901cb5e14712eade62669af0543a5074d35a6e03622a0d268b727089a583504499de6819cf86c8413990cd2fff078ae55311a1
|
data/klarna.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Jonas Grimfelt","Serg Tyatin"]
|
10
10
|
s.email = ["jonas@merchii.com"]
|
11
|
-
s.homepage = "http://
|
11
|
+
s.homepage = "http://talks.2rba.com/t/gem-klarna-xmlrpc/32"
|
12
12
|
s.summary = %{A Ruby wrapper for Klarna/Kreditor XML-RPC API.}
|
13
13
|
s.description = s.summary
|
14
14
|
|
@@ -46,17 +46,6 @@ module Klarna
|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
|
-
def check_order_status(id)
|
50
|
-
xmlrpc_params = [
|
51
|
-
::Klarna::API::PROTOCOL_VERSION,
|
52
|
-
::XMLRPC::Client::USER_AGENT,
|
53
|
-
self.store_id.to_i,
|
54
|
-
self.digest(id.to_s),
|
55
|
-
id.to_s,
|
56
|
-
0
|
57
|
-
]
|
58
|
-
self.call(:check_order_status, *xmlrpc_params)
|
59
|
-
end
|
60
49
|
# Activate purchases which have been previously reserved with the reserve_amount function.
|
61
50
|
#
|
62
51
|
def activate_reservation(params)
|
data/lib/klarna/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: klarna-xmlrpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Grimfelt
|
@@ -294,7 +294,7 @@ files:
|
|
294
294
|
- test/klarna_test.rb
|
295
295
|
- test/support/assertions_helper.rb
|
296
296
|
- test/test_helper.rb
|
297
|
-
homepage: http://
|
297
|
+
homepage: http://talks.2rba.com/t/gem-klarna-xmlrpc/32
|
298
298
|
licenses: []
|
299
299
|
metadata: {}
|
300
300
|
post_install_message:
|