rock_rms 6.1.0 → 6.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rock_rms/resources/gateway.rb +14 -3
- data/lib/rock_rms/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: a5c736d626c3e10da442946c804afb51495b72dbd639eb1618ddf02f5014373b
|
4
|
+
data.tar.gz: 530f44eb1fc23905e1c73f8fb1520758211437cd9ef274edc6cec40022912fab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9310ac0e808dc7b62cc60cea9aa8137db0d5905caec35ae13d5cb0e1d59f15980f2a06ae63bbaa7c3b63e66181292769a711f8c5ebb9bc8c2bf465c7c6f4ac3
|
7
|
+
data.tar.gz: 5791b298548d265583c4258a09817f6e38f2720c86e6044fa77d23cbf9c097d81654fff0013922ad997e8764cdb262104c2b83c11562a75ab97aa1c2a64de0de
|
@@ -1,10 +1,21 @@
|
|
1
1
|
module RockRMS
|
2
2
|
class Client
|
3
3
|
module Gateway
|
4
|
+
PATH = 'FinancialGateways'.freeze
|
5
|
+
|
4
6
|
def list_gateways(options = {})
|
5
|
-
|
6
|
-
|
7
|
-
|
7
|
+
res = get(gateway_path, options)
|
8
|
+
Response::Gateway.format(res)
|
9
|
+
end
|
10
|
+
|
11
|
+
def delete_gateway(id)
|
12
|
+
delete(gateway_path(id))
|
13
|
+
end
|
14
|
+
|
15
|
+
private
|
16
|
+
|
17
|
+
def gateway_path(id = nil)
|
18
|
+
id ? "#{PATH}/#{id}" : PATH
|
8
19
|
end
|
9
20
|
end
|
10
21
|
end
|
data/lib/rock_rms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rock_rms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taylor Brooks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|