apimatic-ci-cd-test 1.0.21 → 1.0.22
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0867ee9fe3c5208aaec5e864f144346eb8e4509aaf0c3826f51fb34533fb0e8
|
4
|
+
data.tar.gz: e94ff978891a599d67c55da7f8ac43a7e8bff94e7436599751e1406e9d0ba6c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9201eb586bee5011aaa62246ef3f9682ad07ae87cefd84b864d4e39cc921b959d05d3ef9a6d8d6cd24779d4abfc3eef3284328427c49dbc82d6ba7b3ad2be713
|
7
|
+
data.tar.gz: 629c729efd99aa23e704143fb25ffec09ec0bb43d6f34ab4d158e8c5d2315937912fa0d7ddcb57458eefbb9176c28f79728e237b7b8fd321e9ad4ff948553ca5
|
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.22
|
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.22'
|
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.22).
|
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'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apimatic-ci-cd-test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- APIMatic SDK Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logging
|