sonia-barrera-sdk 0.0.1 → 3.0.0
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 +11 -11
- 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: 8107ede425c8afd198323e0056e7ecf91acc6d788ee98150348c9ffc05b65dd4
|
4
|
+
data.tar.gz: cc708c709ddcf2f40b442374b8b93f79057b52f2cb6ea9cfe9f0b8678610f9e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 637c7daf8ded89ef1f127f090807502c5a47b41f24647ffc8fecaeb6ab386acb2436846bcef3c0cfc8e46fba45d076cdc0c56877379050d54aa12894466eb7ac
|
7
|
+
data.tar.gz: fd8b5b42994658543aa395b26e8f54452c68fc34f2c394d6a55833f2ba4d987e6ac41cee25135766d0dd66ae7bdb52b820c00e0709a9564fb4db8ecc3afc9287
|
data/README.md
CHANGED
@@ -10,20 +10,20 @@ Simple calculator API hosted on APIMATIC for demo purposes
|
|
10
10
|
Install the gem from the command line:
|
11
11
|
|
12
12
|
```bash
|
13
|
-
gem install sonia-barrera-sdk -v 0.0
|
13
|
+
gem install sonia-barrera-sdk -v 3.0.0
|
14
14
|
```
|
15
15
|
|
16
16
|
Or add the gem to your Gemfile and run `bundle`:
|
17
17
|
|
18
18
|
```ruby
|
19
|
-
gem 'sonia-barrera-sdk', '0.0
|
19
|
+
gem 'sonia-barrera-sdk', '3.0.0'
|
20
20
|
```
|
21
21
|
|
22
|
-
For additional gem details, see the [RubyGems page for the sonia-barrera-sdk gem](https://rubygems.org/gems/sonia-barrera-sdk/versions/0.0
|
22
|
+
For additional gem details, see the [RubyGems page for the sonia-barrera-sdk gem](https://rubygems.org/gems/sonia-barrera-sdk/versions/3.0.0).
|
23
23
|
|
24
24
|
## Initialize the API Client
|
25
25
|
|
26
|
-
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/ZahraN444/sonia-barrera-ruby-sdk/tree/0.0
|
26
|
+
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/ZahraN444/sonia-barrera-ruby-sdk/tree/3.0.0/doc/client.md)
|
27
27
|
|
28
28
|
The following parameters are configurable for the API Client:
|
29
29
|
|
@@ -38,7 +38,7 @@ The following parameters are configurable for the API Client:
|
|
38
38
|
| retry_statuses | `Array` | A list of HTTP statuses to retry. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
|
39
39
|
| retry_methods | `Array` | A list of HTTP methods to retry. <br> **Default: %i[get put]** |
|
40
40
|
| http_callback | `HttpCallBack` | The Http CallBack allows defining callables for pre and post API calls. |
|
41
|
-
| proxy_settings | [`ProxySettings`](https://www.github.com/ZahraN444/sonia-barrera-ruby-sdk/tree/0.0
|
41
|
+
| proxy_settings | [`ProxySettings`](https://www.github.com/ZahraN444/sonia-barrera-ruby-sdk/tree/3.0.0/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
|
42
42
|
|
43
43
|
The API client can be initialized as follows:
|
44
44
|
|
@@ -51,21 +51,21 @@ client = Client.new
|
|
51
51
|
|
52
52
|
## List of APIs
|
53
53
|
|
54
|
-
* [Simple Calculator](https://www.github.com/ZahraN444/sonia-barrera-ruby-sdk/tree/0.0
|
54
|
+
* [Simple Calculator](https://www.github.com/ZahraN444/sonia-barrera-ruby-sdk/tree/3.0.0/doc/controllers/simple-calculator.md)
|
55
55
|
|
56
56
|
## SDK Infrastructure
|
57
57
|
|
58
58
|
### Configuration
|
59
59
|
|
60
|
-
* [ProxySettings](https://www.github.com/ZahraN444/sonia-barrera-ruby-sdk/tree/0.0
|
60
|
+
* [ProxySettings](https://www.github.com/ZahraN444/sonia-barrera-ruby-sdk/tree/3.0.0/doc/proxy-settings.md)
|
61
61
|
|
62
62
|
### HTTP
|
63
63
|
|
64
|
-
* [HttpResponse](https://www.github.com/ZahraN444/sonia-barrera-ruby-sdk/tree/0.0
|
65
|
-
* [HttpRequest](https://www.github.com/ZahraN444/sonia-barrera-ruby-sdk/tree/0.0
|
64
|
+
* [HttpResponse](https://www.github.com/ZahraN444/sonia-barrera-ruby-sdk/tree/3.0.0/doc/http-response.md)
|
65
|
+
* [HttpRequest](https://www.github.com/ZahraN444/sonia-barrera-ruby-sdk/tree/3.0.0/doc/http-request.md)
|
66
66
|
|
67
67
|
### Utilities
|
68
68
|
|
69
|
-
* [ApiHelper](https://www.github.com/ZahraN444/sonia-barrera-ruby-sdk/tree/0.0
|
70
|
-
* [DateTimeHelper](https://www.github.com/ZahraN444/sonia-barrera-ruby-sdk/tree/0.0
|
69
|
+
* [ApiHelper](https://www.github.com/ZahraN444/sonia-barrera-ruby-sdk/tree/3.0.0/doc/api-helper.md)
|
70
|
+
* [DateTimeHelper](https://www.github.com/ZahraN444/sonia-barrera-ruby-sdk/tree/3.0.0/doc/date-time-helper.md)
|
71
71
|
|