cli-sdk 1.0.0 → 1.0.14
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/README.md +13 -13
- 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: 0f62bf34a4e5fdc691fd6ae9a4d31e1f9081d3c4f422f58dd4ad0f956e716af7
|
|
4
|
+
data.tar.gz: b064db73afbfbfe367889e611b16c9dfd592026e4e040bcf2a5637f3602f3499
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 06a0b61711f96d77b39352ab5e78a679c78775e31b39d4b2896b752c154bbaf6d069e092a3652e628ce421f7ed2fba892e761160e7d65d517ec141deca97533c
|
|
7
|
+
data.tar.gz: fda068fc981a4569377c642f3d7f8dbe7772b49af3a7a07991d8f16da971f0314b449da0387ac6cd3567aa2bf241dc710f2645554dc4f1b67226fe2356a7b414
|
data/README.md
CHANGED
|
@@ -10,16 +10,16 @@ Simple calculator API hosted on APIMATIC
|
|
|
10
10
|
Install the gem from the command line:
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
gem install cli-sdk -v 1.0.
|
|
13
|
+
gem install cli-sdk -v 1.0.14
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
Or add the gem to your Gemfile and run `bundle`:
|
|
17
17
|
|
|
18
18
|
```ruby
|
|
19
|
-
gem 'cli-sdk', '1.0.
|
|
19
|
+
gem 'cli-sdk', '1.0.14'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
For additional gem details, see the [RubyGems page for the cli-sdk gem](https://rubygems.org/gems/cli-sdk/versions/1.0.
|
|
22
|
+
For additional gem details, see the [RubyGems page for the cli-sdk gem](https://rubygems.org/gems/cli-sdk/versions/1.0.14).
|
|
23
23
|
|
|
24
24
|
## IRB Console Usage
|
|
25
25
|
|
|
@@ -58,7 +58,7 @@ ruby bin/console
|
|
|
58
58
|
|
|
59
59
|
## Initialize the API Client
|
|
60
60
|
|
|
61
|
-
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.
|
|
61
|
+
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.14/doc/client.md)
|
|
62
62
|
|
|
63
63
|
The following parameters are configurable for the API Client:
|
|
64
64
|
|
|
@@ -73,7 +73,7 @@ The following parameters are configurable for the API Client:
|
|
|
73
73
|
| retry_statuses | `Array` | A list of HTTP statuses to retry. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
|
|
74
74
|
| retry_methods | `Array` | A list of HTTP methods to retry. <br> **Default: %i[get put]** |
|
|
75
75
|
| http_callback | `HttpCallBack` | The Http CallBack allows defining callables for pre and post API calls. |
|
|
76
|
-
| proxy_settings | [`ProxySettings`](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.
|
|
76
|
+
| proxy_settings | [`ProxySettings`](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.14/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
|
|
77
77
|
|
|
78
78
|
The API client can be initialized as follows:
|
|
79
79
|
|
|
@@ -96,26 +96,26 @@ include ApimaticCalculator
|
|
|
96
96
|
client = Client.from_env
|
|
97
97
|
```
|
|
98
98
|
|
|
99
|
-
See the [`Environment-Based Client Initialization`](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.
|
|
99
|
+
See the [`Environment-Based Client Initialization`](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.14/doc/environment-based-client-initialization.md) section for details.
|
|
100
100
|
|
|
101
101
|
## List of APIs
|
|
102
102
|
|
|
103
|
-
* [Simple Calculator](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.
|
|
103
|
+
* [Simple Calculator](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.14/doc/controllers/simple-calculator.md)
|
|
104
104
|
|
|
105
105
|
## SDK Infrastructure
|
|
106
106
|
|
|
107
107
|
### Configuration
|
|
108
108
|
|
|
109
|
-
* [ProxySettings](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.
|
|
110
|
-
* [Environment-Based Client Initialization](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.
|
|
109
|
+
* [ProxySettings](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.14/doc/proxy-settings.md)
|
|
110
|
+
* [Environment-Based Client Initialization](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.14/doc/environment-based-client-initialization.md)
|
|
111
111
|
|
|
112
112
|
### HTTP
|
|
113
113
|
|
|
114
|
-
* [HttpResponse](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.
|
|
115
|
-
* [HttpRequest](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.
|
|
114
|
+
* [HttpResponse](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.14/doc/http-response.md)
|
|
115
|
+
* [HttpRequest](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.14/doc/http-request.md)
|
|
116
116
|
|
|
117
117
|
### Utilities
|
|
118
118
|
|
|
119
|
-
* [ApiHelper](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.
|
|
120
|
-
* [DateTimeHelper](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.
|
|
119
|
+
* [ApiHelper](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.14/doc/api-helper.md)
|
|
120
|
+
* [DateTimeHelper](https://www.github.com/WasifMatic/acme-ruby-sdk/tree/1.0.14/doc/date-time-helper.md)
|
|
121
121
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cli-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- cli-user
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-04-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: apimatic_core_interfaces
|