wesley-key-sdk 3.0.3 → 3.0.5

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -14
  3. data/lib/cypress_test_api.rb +8 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f8d7998c64e9fc592b71eeb658a846ad98f64033ac2df03214f8fa31500bb6c
4
- data.tar.gz: bed3baaef6908e6d3afb31614ee6762719e141e96786d210ce70277563c7b2ee
3
+ metadata.gz: 54da1339a3deed8408f5ed43c00aa9d43670f202f5b57213b4de74da9d76c3a4
4
+ data.tar.gz: 24a374f418bd1baf711149821d8b0cc57daf13c90d7d28c8b07a85cac9ce3e05
5
5
  SHA512:
6
- metadata.gz: 03f9920593b78ce5f06f6514984df9e01ac779dcf4ed6482774843b36d81aebc58d7cdfd16254ef50499073cce09fcb4f82919eb5903a81daf382df04b9fff5b
7
- data.tar.gz: cb6c65e7b5c16787ab6074fe2c4b6d750605e25cbb351e520b8e2ea6527f51d80cbaf0da55b84a2ffa9e7992d84952398acd2824306df324f948eab048172fdd
6
+ metadata.gz: c071b0499de0687a99453180e1f50ead08099e60f067307516dbbb4966fe2842fe4a2512459cffd17a80b174dc692a929de234152b92386e3a87ff01d34df958
7
+ data.tar.gz: 95e3b8f56b53ecc4d4bef2076e26be595ddac5f1078290dae86d92c251a50cd3d03470f977b348acbee8f1de7e966778963ea32be15dbb05fe6efffe3ca67f2e
data/README.md CHANGED
@@ -10,16 +10,16 @@ This is a sample API to demonstrate an OpenAPI spec with multiple endpoints and
10
10
  Install the gem from the command line:
11
11
 
12
12
  ```bash
13
- gem install wesley-key-sdk -v 3.0.3
13
+ gem install wesley-key-sdk -v 3.0.5
14
14
  ```
15
15
 
16
16
  Or add the gem to your Gemfile and run `bundle`:
17
17
 
18
18
  ```ruby
19
- gem 'wesley-key-sdk', '3.0.3'
19
+ gem 'wesley-key-sdk', '3.0.5'
20
20
  ```
21
21
 
22
- For additional gem details, see the [RubyGems page for the wesley-key-sdk gem](https://rubygems.org/gems/wesley-key-sdk/versions/3.0.3).
22
+ For additional gem details, see the [RubyGems page for the wesley-key-sdk gem](https://rubygems.org/gems/wesley-key-sdk/versions/3.0.5).
23
23
 
24
24
  ## IRB Console Usage
25
25
 
@@ -66,14 +66,14 @@ rake
66
66
 
67
67
  ## Initialize the API Client
68
68
 
69
- **_Note:_** Documentation for the client can be found [here.](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.3/doc/client.md)
69
+ **_Note:_** Documentation for the client can be found [here.](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.5/doc/client.md)
70
70
 
71
71
  The following parameters are configurable for the API Client:
72
72
 
73
73
  | Parameter | Type | Description |
74
74
  | --- | --- | --- |
75
75
  | default_host | `String` | *Default*: `'www.example.com'` |
76
- | environment | `Environment` | The API environment. <br> **Default: `Environment.PRODUCTION`** |
76
+ | environment | [`Environment`](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.5/README.md#environments) | The API environment. <br> **Default: `Environment.PRODUCTION`** |
77
77
  | connection | `Faraday::Connection` | The Faraday connection object passed by the SDK user for making requests |
78
78
  | adapter | `Faraday::Adapter` | The Faraday adapter object passed by the SDK user for performing http requests |
79
79
  | timeout | `Float` | The value to use for connection timeout. <br> **Default: 60** |
@@ -83,7 +83,7 @@ The following parameters are configurable for the API Client:
83
83
  | retry_statuses | `Array` | A list of HTTP statuses to retry. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
84
84
  | retry_methods | `Array` | A list of HTTP methods to retry. <br> **Default: %i[get put]** |
85
85
  | http_callback | `HttpCallBack` | The Http CallBack allows defining callables for pre and post API calls. |
86
- | proxy_settings | [`ProxySettings`](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.3/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
86
+ | proxy_settings | [`ProxySettings`](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.5/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
87
87
 
88
88
  The API client can be initialized as follows:
89
89
 
@@ -109,26 +109,36 @@ include CypressTestApi
109
109
  client = Client.from_env
110
110
  ```
111
111
 
112
- See the [`Environment-Based Client Initialization`](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.3/doc/environment-based-client-initialization.md) section for details.
112
+ See the [`Environment-Based Client Initialization`](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.5/doc/environment-based-client-initialization.md) section for details.
113
+
114
+ ## Environments
115
+
116
+ The SDK can be configured to use a different environment for making API calls. Available environments are:
117
+
118
+ ### Fields
119
+
120
+ | Name | Description |
121
+ | --- | --- |
122
+ | PRODUCTION | **Default** |
113
123
 
114
124
  ## List of APIs
115
125
 
116
- * [API](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.3/doc/controllers/api.md)
126
+ * [API](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.5/doc/controllers/api.md)
117
127
 
118
128
  ## SDK Infrastructure
119
129
 
120
130
  ### Configuration
121
131
 
122
- * [ProxySettings](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.3/doc/proxy-settings.md)
123
- * [Environment-Based Client Initialization](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.3/doc/environment-based-client-initialization.md)
132
+ * [ProxySettings](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.5/doc/proxy-settings.md)
133
+ * [Environment-Based Client Initialization](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.5/doc/environment-based-client-initialization.md)
124
134
 
125
135
  ### HTTP
126
136
 
127
- * [HttpResponse](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.3/doc/http-response.md)
128
- * [HttpRequest](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.3/doc/http-request.md)
137
+ * [HttpResponse](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.5/doc/http-response.md)
138
+ * [HttpRequest](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.5/doc/http-request.md)
129
139
 
130
140
  ### Utilities
131
141
 
132
- * [ApiHelper](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.3/doc/api-helper.md)
133
- * [DateTimeHelper](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.3/doc/date-time-helper.md)
142
+ * [ApiHelper](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.5/doc/api-helper.md)
143
+ * [DateTimeHelper](https://www.github.com/ZahraN444/wesley-key-ruby-sdk/tree/3.0.5/doc/date-time-helper.md)
134
144
 
@@ -28,22 +28,22 @@ require_relative 'cypress_test_api/http/proxy_settings'
28
28
 
29
29
  # Models
30
30
  require_relative 'cypress_test_api/models/base_model'
31
- require_relative 'cypress_test_api/models/multiple_arrays_request'
31
+ require_relative 'cypress_test_api/models/item'
32
+ require_relative 'cypress_test_api/models/item_response'
32
33
  require_relative 'cypress_test_api/models/lion'
33
34
  require_relative 'cypress_test_api/models/deer'
34
- require_relative 'cypress_test_api/models/item'
35
- require_relative 'cypress_test_api/models/response_http400'
36
35
  require_relative 'cypress_test_api/models/message'
37
- require_relative 'cypress_test_api/models/response_http404'
38
- require_relative 'cypress_test_api/models/nac_tag'
39
- require_relative 'cypress_test_api/models/item_response'
40
36
  require_relative 'cypress_test_api/models/message2'
37
+ require_relative 'cypress_test_api/models/multiple_arrays_request'
41
38
  require_relative 'cypress_test_api/models/tokens_request'
39
+ require_relative 'cypress_test_api/models/nac_tag'
40
+ require_relative 'cypress_test_api/models/response_http400'
41
+ require_relative 'cypress_test_api/models/response_http404'
42
+ require_relative 'cypress_test_api/models/custom_enum'
42
43
  require_relative 'cypress_test_api/models/o_auth_scope_o_auth_acg_enum'
43
44
  require_relative 'cypress_test_api/models/status_enum'
44
- require_relative 'cypress_test_api/models/status11_enum'
45
- require_relative 'cypress_test_api/models/custom_enum'
46
45
  require_relative 'cypress_test_api/models/status1_enum'
46
+ require_relative 'cypress_test_api/models/status11_enum'
47
47
 
48
48
  # Exceptions
49
49
  require_relative 'cypress_test_api/exceptions/api_exception'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wesley-key-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenyon Jacobs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-02 00:00:00.000000000 Z
11
+ date: 2026-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: apimatic_core_interfaces