paze-apimatic-sdk-sdk 1.0.0 → 1.0.1
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 +18 -18
- 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: 1df5855b0fa69b40e3fa792d4f9d31b8f1ac73400ccea595b04247a3cbbff4f7
|
|
4
|
+
data.tar.gz: 8c735ebc18cb06302571c99bde34156b3b5c3de19f00fc7a5ca7ea5a4fd4f54c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87f290a5069e3db88354c5288de8e50f59400280c0a3225b2d523232052da963b1d87797e11eb10a55f73432e775bb0aaa41ce487fec06b8968fa903d6ff7c49
|
|
7
|
+
data.tar.gz: 92157ddb8a660413392b6e6c5f8c4785ae9472b61bb3e06ab6a5f762f79fdf8644eda5499bb4589a0ed5f7ef86497c30a528285bf7d025aca7998b2d77b87f44
|
data/README.md
CHANGED
|
@@ -10,16 +10,16 @@ Paze Checkout API for Merchants
|
|
|
10
10
|
Install the gem from the command line:
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
gem install paze-apimatic-sdk-sdk -v 1.0.
|
|
13
|
+
gem install paze-apimatic-sdk-sdk -v 1.0.1
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
Or add the gem to your Gemfile and run `bundle`:
|
|
17
17
|
|
|
18
18
|
```ruby
|
|
19
|
-
gem 'paze-apimatic-sdk-sdk', '1.0.
|
|
19
|
+
gem 'paze-apimatic-sdk-sdk', '1.0.1'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
For additional gem details, see the [RubyGems page for the paze-apimatic-sdk-sdk gem](https://rubygems.org/gems/paze-apimatic-sdk-sdk/versions/1.0.
|
|
22
|
+
For additional gem details, see the [RubyGems page for the paze-apimatic-sdk-sdk gem](https://rubygems.org/gems/paze-apimatic-sdk-sdk/versions/1.0.1).
|
|
23
23
|
|
|
24
24
|
## IRB Console Usage
|
|
25
25
|
|
|
@@ -58,13 +58,13 @@ 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/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.
|
|
61
|
+
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.1/doc/client.md)
|
|
62
62
|
|
|
63
63
|
The following parameters are configurable for the API Client:
|
|
64
64
|
|
|
65
65
|
| Parameter | Type | Description |
|
|
66
66
|
| --- | --- | --- |
|
|
67
|
-
| environment | [`Environment`](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.
|
|
67
|
+
| environment | [`Environment`](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.1/README.md#environments) | The API environment. <br> **Default: `Environment.PRODUCTION`** |
|
|
68
68
|
| connection | `Faraday::Connection` | The Faraday connection object passed by the SDK user for making requests |
|
|
69
69
|
| adapter | `Faraday::Adapter` | The Faraday adapter object passed by the SDK user for performing http requests |
|
|
70
70
|
| timeout | `Float` | The value to use for connection timeout. <br> **Default: 60** |
|
|
@@ -74,8 +74,8 @@ The following parameters are configurable for the API Client:
|
|
|
74
74
|
| retry_statuses | `Array` | A list of HTTP statuses to retry. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
|
|
75
75
|
| retry_methods | `Array` | A list of HTTP methods to retry. <br> **Default: %i[get put]** |
|
|
76
76
|
| http_callback | `HttpCallBack` | The Http CallBack allows defining callables for pre and post API calls. |
|
|
77
|
-
| proxy_settings | [`ProxySettings`](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.
|
|
78
|
-
| client_credentials_auth_credentials | [`ClientCredentialsAuthCredentials`](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.
|
|
77
|
+
| proxy_settings | [`ProxySettings`](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.1/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
|
|
78
|
+
| client_credentials_auth_credentials | [`ClientCredentialsAuthCredentials`](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.1/doc/auth/oauth-2-client-credentials-grant.md) | The credential object for OAuth 2 Client Credentials Grant |
|
|
79
79
|
|
|
80
80
|
The API client can be initialized as follows:
|
|
81
81
|
|
|
@@ -104,7 +104,7 @@ include PazeCheckoutApi
|
|
|
104
104
|
client = Client.from_env
|
|
105
105
|
```
|
|
106
106
|
|
|
107
|
-
See the [`Environment-Based Client Initialization`](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.
|
|
107
|
+
See the [`Environment-Based Client Initialization`](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.1/doc/environment-based-client-initialization.md) section for details.
|
|
108
108
|
|
|
109
109
|
## Environments
|
|
110
110
|
|
|
@@ -120,28 +120,28 @@ The SDK can be configured to use a different environment for making API calls. A
|
|
|
120
120
|
|
|
121
121
|
This API uses the following authentication schemes.
|
|
122
122
|
|
|
123
|
-
* [`OAuth2 (OAuth 2 Client Credentials Grant)`](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.
|
|
123
|
+
* [`OAuth2 (OAuth 2 Client Credentials Grant)`](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.1/doc/auth/oauth-2-client-credentials-grant.md)
|
|
124
124
|
|
|
125
125
|
## List of APIs
|
|
126
126
|
|
|
127
|
-
* [Checkout Session](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.
|
|
128
|
-
* [Merchant Onboarding](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.
|
|
129
|
-
* [Identity](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.
|
|
127
|
+
* [Checkout Session](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.1/doc/controllers/checkout-session.md)
|
|
128
|
+
* [Merchant Onboarding](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.1/doc/controllers/merchant-onboarding.md)
|
|
129
|
+
* [Identity](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.1/doc/controllers/identity.md)
|
|
130
130
|
|
|
131
131
|
## SDK Infrastructure
|
|
132
132
|
|
|
133
133
|
### Configuration
|
|
134
134
|
|
|
135
|
-
* [ProxySettings](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.
|
|
136
|
-
* [Environment-Based Client Initialization](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.
|
|
135
|
+
* [ProxySettings](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.1/doc/proxy-settings.md)
|
|
136
|
+
* [Environment-Based Client Initialization](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.1/doc/environment-based-client-initialization.md)
|
|
137
137
|
|
|
138
138
|
### HTTP
|
|
139
139
|
|
|
140
|
-
* [HttpResponse](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.
|
|
141
|
-
* [HttpRequest](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.
|
|
140
|
+
* [HttpResponse](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.1/doc/http-response.md)
|
|
141
|
+
* [HttpRequest](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.1/doc/http-request.md)
|
|
142
142
|
|
|
143
143
|
### Utilities
|
|
144
144
|
|
|
145
|
-
* [ApiHelper](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.
|
|
146
|
-
* [DateTimeHelper](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.
|
|
145
|
+
* [ApiHelper](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.1/doc/api-helper.md)
|
|
146
|
+
* [DateTimeHelper](https://www.github.com/sdks-io/paze-apimatic-sdk-ruby-sdk/tree/1.0.1/doc/date-time-helper.md)
|
|
147
147
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: paze-apimatic-sdk-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Muhammad Rafay
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03
|
|
11
|
+
date: 2026-04-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: apimatic_core_interfaces
|