apimatic-ci-cd-test 1.0.22 → 1.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -7
- data/lib/payments_api/controllers/quotes_controller.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab63e210f21be1054c2d1718aad660fc0e7da23239f83a228e40c5eab9320321
|
4
|
+
data.tar.gz: 32687be6c48862c0e9f5626ae0c3a0c3b1b9ba164e5ed9029fc1b0b0a15686f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0f831ee54a89d20a9ed51e1636d3f5b27c6dacd45030b4028b1b475600bb314e812d5eff9f5deaaa77c74cf260c81c7e2dcb7c147d85f389df999154f78e7f0
|
7
|
+
data.tar.gz: d7be118d0cba787816398d05491996105b75c082c2eea8f4084af41774b7f554fd779cdfc207e0aed33286ce9aaf1f3673091852a2a6c1a84042c4e6e7aad8f7
|
data/README.md
CHANGED
@@ -11,16 +11,16 @@ API for sending and managing payments
|
|
11
11
|
Install the gem from the command line:
|
12
12
|
|
13
13
|
```ruby
|
14
|
-
gem install apimatic-ci-cd-test -v 1.0.
|
14
|
+
gem install apimatic-ci-cd-test -v 1.0.23
|
15
15
|
```
|
16
16
|
|
17
17
|
Or add the gem to your Gemfile and run `bundle`:
|
18
18
|
|
19
19
|
```ruby
|
20
|
-
gem 'apimatic-ci-cd-test', '1.0.
|
20
|
+
gem 'apimatic-ci-cd-test', '1.0.23'
|
21
21
|
```
|
22
22
|
|
23
|
-
For additional gem details, see the [RubyGems page for the apimatic-ci-cd-test gem](https://rubygems.org/gems/apimatic-ci-cd-test/versions/1.0.
|
23
|
+
For additional gem details, see the [RubyGems page for the apimatic-ci-cd-test gem](https://rubygems.org/gems/apimatic-ci-cd-test/versions/1.0.23).
|
24
24
|
|
25
25
|
### Initialize the API Client
|
26
26
|
|
@@ -82,13 +82,13 @@ An instance of the `QuotesController` class can be accessed from the API Client.
|
|
82
82
|
quotes_controller = client.quotes
|
83
83
|
```
|
84
84
|
|
85
|
-
#### Create
|
85
|
+
#### Create Quote
|
86
86
|
|
87
87
|
Create new Quote
|
88
88
|
|
89
89
|
```ruby
|
90
|
-
def
|
91
|
-
|
90
|
+
def create_quote(bank_id,
|
91
|
+
body)
|
92
92
|
```
|
93
93
|
|
94
94
|
##### Parameters
|
@@ -116,7 +116,7 @@ body.exchange_rate = 1.2345
|
|
116
116
|
body.locked = false
|
117
117
|
body.revision = 1
|
118
118
|
|
119
|
-
result = quotes_controller.
|
119
|
+
result = quotes_controller.create_quote(bank_id, body)
|
120
120
|
```
|
121
121
|
|
122
122
|
##### Example Response *(as JSON)*
|
@@ -14,8 +14,8 @@ module PaymentsApi
|
|
14
14
|
# @param [String] bank_id Required parameter: Bank ID (Routing Number)
|
15
15
|
# @param [Quote] body Required parameter: Quote data
|
16
16
|
# @return [Quote] response from the API call
|
17
|
-
def
|
18
|
-
|
17
|
+
def create_quote(bank_id,
|
18
|
+
body)
|
19
19
|
# Prepare query url.
|
20
20
|
_query_builder = config.get_base_uri
|
21
21
|
_query_builder << '/quotes'
|