online_payment_platform 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/online_payment_platform/methods.rb +1 -2
- data/lib/online_payment_platform/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 566170266637e9e43a5f927b98036db291c2785235d2f12036ba9782598e50f3
|
4
|
+
data.tar.gz: e1d5f37fc62bcfa9727aa11045e689cebc5839cb440657890ec26cd5e379e227
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d0a951201b40aa5998f400823935e195d83ae652f08636305957c2ebfa806f73af8535eed8eb6b1ff8bdbd0cb82c39b81954644eb957705c57309c239f89531
|
7
|
+
data.tar.gz: 0ae52ee27e89cafd8aa1b38b3e3b15747e02e2b5f2bb95d180f8f30a6078a2521b28325486bbe161a23595f7f3a6467f573095802ed8183a6de1b3341df57bd8
|
data/Gemfile.lock
CHANGED
@@ -12,7 +12,7 @@ module Methods
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def generate_uri(*path)
|
15
|
-
encoded_uri =
|
15
|
+
encoded_uri = OnlinePaymentPlatform.configuration.base_uri + path.join('/')
|
16
16
|
URI.parse encoded_uri
|
17
17
|
end
|
18
18
|
|
@@ -36,7 +36,6 @@ module Methods
|
|
36
36
|
req = Net::HTTP::Get.new(uri)
|
37
37
|
req['Authorization'] = "Bearer #{config.api_key}"
|
38
38
|
|
39
|
-
byebug
|
40
39
|
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
|
41
40
|
http.request req
|
42
41
|
end
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: online_payment_platform
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dennis de Vulder
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
11
|
date: 2021-06-28 00:00:00.000000000 Z
|
@@ -56,7 +56,7 @@ metadata:
|
|
56
56
|
homepage_uri: https://github.com/advalley/onlinepaymentplatform
|
57
57
|
source_code_uri: https://github.com/advalley/onlinepaymentplatform
|
58
58
|
changelog_uri: https://github.com/advalley/onlinepaymentplatform/blob/main/CHANGELOG.md
|
59
|
-
post_install_message:
|
59
|
+
post_install_message:
|
60
60
|
rdoc_options: []
|
61
61
|
require_paths:
|
62
62
|
- lib
|
@@ -71,8 +71,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '0'
|
73
73
|
requirements: []
|
74
|
-
rubygems_version: 3.
|
75
|
-
signing_key:
|
74
|
+
rubygems_version: 3.2.3
|
75
|
+
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: A ruby wrapper for OPP
|
78
78
|
test_files: []
|