bs2_api 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/bs2_api/payment/base.rb +4 -4
- data/lib/bs2_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e4c949521f5aa35e0d70b1f60ecf2b2f564506624ed734119f60da621405ed0
|
4
|
+
data.tar.gz: dcb26cdbc5609f26278c71da41c76506a6c3c3e4c8cffd1ecab462762a428a07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8a5e2c6eff25d932b8ca1bd8645b41b1b3d5791e89d554c1d57494fa25d445f10f52fd056ef989a040fb9646e1d3aec0e8e83bc2674256423db0e4dac670d59
|
7
|
+
data.tar.gz: 7e08dbc26de1e902aa9ead89c69669bb0b2d4b27bef863966abad162a64d01b0f1e621191e47797c34f9f7545fdde5131325a769ad2f3f6a3bf42562ad181557
|
data/CHANGELOG.md
CHANGED
data/lib/bs2_api/payment/base.rb
CHANGED
@@ -9,8 +9,8 @@ module Bs2Api
|
|
9
9
|
|
10
10
|
def call
|
11
11
|
response = post_request
|
12
|
-
raise Bs2Api::Errors::BadRequest, ::Util::Response.parse_error(response) unless response.
|
13
|
-
|
12
|
+
raise Bs2Api::Errors::BadRequest, ::Util::Response.parse_error(response) unless response.ok?
|
13
|
+
|
14
14
|
@payment = Bs2Api::Entities::Payment.from_response(response)
|
15
15
|
self
|
16
16
|
end
|
@@ -35,10 +35,10 @@ module Bs2Api
|
|
35
35
|
def payload
|
36
36
|
raise NoMethodError, "Missing #{__method__} to #{self.class}"
|
37
37
|
end
|
38
|
-
|
38
|
+
|
39
39
|
def url
|
40
40
|
raise NoMethodError, "Missing #{__method__} to #{self.class}"
|
41
41
|
end
|
42
42
|
end
|
43
43
|
end
|
44
|
-
end
|
44
|
+
end
|
data/lib/bs2_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bs2_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kim Pastro
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: builder
|