paymentrails 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/paymentrails/Client.rb +2 -2
- data/paymentrails.gemspec +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: f075f2b06d9c9ce0d11833e11268288a727e10fb79f1ce44a070fbb5d9a55e2b
|
|
4
|
+
data.tar.gz: 82eed4cf841783902a59c32edc955b6ec7a0541ab679cb5193e7493c0d00d662
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7e6ee052161182aff7763683512b8bb66dc90b79394f19923fb3b53f544e0c6134cf66ab885b7905768d659918a8b812555cc2b7deef2878090434d7ff5c928c
|
|
7
|
+
data.tar.gz: 2fc33f250b401fb53d9a3d729798886db4a60a419750fbab5e47f57664aa2a8aa1a496a0aa77e252339abf9475cdb619ab5f961f5b9cdd8045abee49200e9c6c
|
data/lib/paymentrails/Client.rb
CHANGED
|
@@ -79,11 +79,11 @@ module PaymentRails
|
|
|
79
79
|
when '401'
|
|
80
80
|
raise AuthenticationError, message
|
|
81
81
|
when '403'
|
|
82
|
-
raise
|
|
82
|
+
raise AuthorizationError, message
|
|
83
83
|
when '404'
|
|
84
84
|
raise NotFoundError, message
|
|
85
85
|
when '429'
|
|
86
|
-
raise TooManyRequestsError message
|
|
86
|
+
raise TooManyRequestsError, message
|
|
87
87
|
when '500'
|
|
88
88
|
raise ServerError, message
|
|
89
89
|
when '503'
|
data/paymentrails.gemspec
CHANGED
|
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
|
|
|
4
4
|
s.name = "paymentrails"
|
|
5
5
|
s.summary = "PaymentRails Ruby SDK"
|
|
6
6
|
s.description = "Ruby SDK for interacting with the PaymentRails API"
|
|
7
|
-
s.version = '0.2.
|
|
7
|
+
s.version = '0.2.6'
|
|
8
8
|
s.homepage = 'https://www.paymentrails.com/'
|
|
9
9
|
s.email = ['joshua@paymentrails.com']
|
|
10
10
|
s.license = "MIT"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: paymentrails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- PaymentRails
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-07-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dotenv
|