apimatic-ci-cd-test 1.0.23 → 1.0.24
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: b9596400d07f87833ac399c36eb6000d3b1b52c5953d657363a34ede46f8752e
|
4
|
+
data.tar.gz: ac03474ab0985f32533dac3109dc07b3e879cbec7be7f0c208d0331698e9f4df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b0153acb5b3271ed294fda1c48830abee28cfea514398fa0454eacd664a4fbcf986c718b33ce6c245eb8e80ec2164d24825ad70499830a6485e45e159d79e5d
|
7
|
+
data.tar.gz: b644393638fec885578cfefb049ed82e6fc3abaf5d476fbc83f7e6c16a66e84c7d754a308ce10e9984d7cca106d3f9df6b73aad668a4dcca75d3b364c31dd3ee
|
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.24
|
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.24'
|
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.24).
|
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 Quote
|
85
|
+
#### Create New Quote
|
86
86
|
|
87
87
|
Create new Quote
|
88
88
|
|
89
89
|
```ruby
|
90
|
-
def
|
91
|
-
|
90
|
+
def create_new_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_new_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_new_quote(bank_id,
|
18
|
+
body)
|
19
19
|
# Prepare query url.
|
20
20
|
_query_builder = config.get_base_uri
|
21
21
|
_query_builder << '/quotes'
|