atrium-ruby 2.10.6 → 2.10.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d2799944a659af868efa5f82876f03733526a9dc57be689638655a7f408e698
4
- data.tar.gz: 6e583fa10b5f86aaa7f01fd8e760bf8f16f37bd287d9159cd7b16128d8639a36
3
+ metadata.gz: 43fa9a798d4b18231e00af25e3b535e972b2682059f146c419db02b60bf0c743
4
+ data.tar.gz: 1ff3292370bdb3f5a1a7cdfe7ccde534be1979706184a8a79652db3d6e011ef7
5
5
  SHA512:
6
- metadata.gz: 8a4e6cd906d86a4b66d7555c3057abd8a1b181d5f2f14cd7687659cfafe998b72f149bbec0967361bd6c88a6b4d7d78389ae6e758a0c1be6e2536ec3fc9a1fbf
7
- data.tar.gz: e7bd75e785cf176e67f06523eb737469d476c34147f4c203013c2f3dccd3af5a9fe76c80a1733d37ba457d3e2c57009f59f61929d7f7c43c59ffb738e7e80e17
6
+ metadata.gz: f57889adcf132d9b9ee2b917119d8010f0f9d852b90fda38b57258f3381e8be122bca4c72de56a2fe1af6ef320f87009926a5904835ec0a51c63ad02e71d030e
7
+ data.tar.gz: 56d691f090f37803a0360245ef09982f58100eb4fa1fee62ea13423540d88bab3da830b6d8a70d6526544f732b5c4fc1fd00ad969d02d0f55d99f15ef82ee409
data/README.md CHANGED
@@ -17,12 +17,12 @@ gem build atrium-ruby.gemspec
17
17
  Then either install the gem locally:
18
18
 
19
19
  ```shell
20
- gem install ./atrium-ruby-2.10.6.gem
20
+ gem install ./atrium-ruby-2.10.7.gem
21
21
  ```
22
22
 
23
23
  Finally add this to the Gemfile:
24
24
 
25
- gem 'atrium-ruby', '~> 2.10.6'
25
+ gem 'atrium-ruby', '~> 2.10.7'
26
26
 
27
27
  ### Install from Git
28
28
 
data/docs/HoldingsApi.md CHANGED
@@ -9,7 +9,7 @@ Method | HTTP request | Description
9
9
 
10
10
 
11
11
  # **list_holdings**
12
- > HoldingsResponseBody list_holdings(user_guid, )
12
+ > HoldingsResponseBody list_holdings(user_guid, , opts)
13
13
 
14
14
  List holdings
15
15
 
@@ -23,10 +23,14 @@ require 'atrium-ruby'
23
23
  client = Atrium::AtriumClient.new("YOUR_API_KEY", "YOUR_CLIENT_ID")
24
24
 
25
25
  user_guid = "USR-123" # String | The unique identifier for a `user`.
26
+ opts = {
27
+ page: 1, # Integer | Specify current page.
28
+ records_per_page: 12 # Integer | Specify records per page.
29
+ }
26
30
 
27
31
  begin
28
32
  #List holdings
29
- response = client.holdings.list_holdings(user_guid, )
33
+ response = client.holdings.list_holdings(user_guid, , opts)
30
34
  p response
31
35
  rescue Atrium::ApiError => e
32
36
  puts "Exception when calling HoldingsApi->list_holdings: #{e}"
@@ -38,13 +42,15 @@ end
38
42
  Name | Type | Description | Notes
39
43
  ------------- | ------------- | ------------- | -------------
40
44
  **user_guid** | **String**| The unique identifier for a `user`. |
45
+ **page** | **Integer**| Specify current page. | [optional]
46
+ **records_per_page** | **Integer**| Specify records per page. | [optional]
41
47
 
42
48
  ### Return type
43
49
 
44
50
  [**HoldingsResponseBody**](HoldingsResponseBody.md)
45
51
 
46
52
  # **list_holdings_by_account**
47
- > HoldingsResponseBody list_holdings_by_account(account_guid, user_guid, )
53
+ > HoldingsResponseBody list_holdings_by_account(account_guid, user_guid, , opts)
48
54
 
49
55
  List holdings by account
50
56
 
@@ -59,10 +65,14 @@ client = Atrium::AtriumClient.new("YOUR_API_KEY", "YOUR_CLIENT_ID")
59
65
 
60
66
  account_guid = "ACT-123" # String | The unique identifier for an `account`.
61
67
  user_guid = "USR-123" # String | The unique identifier for a `user`.
68
+ opts = {
69
+ page: 1, # Integer | Specify current page.
70
+ records_per_page: 12 # Integer | Specify records per page.
71
+ }
62
72
 
63
73
  begin
64
74
  #List holdings by account
65
- response = client.holdings.list_holdings_by_account(account_guid, user_guid, )
75
+ response = client.holdings.list_holdings_by_account(account_guid, user_guid, , opts)
66
76
  p response
67
77
  rescue Atrium::ApiError => e
68
78
  puts "Exception when calling HoldingsApi->list_holdings_by_account: #{e}"
@@ -75,13 +85,15 @@ Name | Type | Description | Notes
75
85
  ------------- | ------------- | ------------- | -------------
76
86
  **account_guid** | **String**| The unique identifier for an `account`. |
77
87
  **user_guid** | **String**| The unique identifier for a `user`. |
88
+ **page** | **Integer**| Specify current page. | [optional]
89
+ **records_per_page** | **Integer**| Specify records per page. | [optional]
78
90
 
79
91
  ### Return type
80
92
 
81
93
  [**HoldingsResponseBody**](HoldingsResponseBody.md)
82
94
 
83
95
  # **list_holdings_by_member**
84
- > HoldingsResponseBody list_holdings_by_member(member_guid, user_guid, )
96
+ > HoldingsResponseBody list_holdings_by_member(member_guid, user_guid, , opts)
85
97
 
86
98
  List holdings by member
87
99
 
@@ -96,10 +108,14 @@ client = Atrium::AtriumClient.new("YOUR_API_KEY", "YOUR_CLIENT_ID")
96
108
 
97
109
  member_guid = "MBR-123" # String | The unique identifier for a `member`.
98
110
  user_guid = "USR-123" # String | The unique identifier for a `user`.
111
+ opts = {
112
+ page: 1, # Integer | Specify current page.
113
+ records_per_page: 12 # Integer | Specify records per page.
114
+ }
99
115
 
100
116
  begin
101
117
  #List holdings by member
102
- response = client.holdings.list_holdings_by_member(member_guid, user_guid, )
118
+ response = client.holdings.list_holdings_by_member(member_guid, user_guid, , opts)
103
119
  p response
104
120
  rescue Atrium::ApiError => e
105
121
  puts "Exception when calling HoldingsApi->list_holdings_by_member: #{e}"
@@ -112,6 +128,8 @@ Name | Type | Description | Notes
112
128
  ------------- | ------------- | ------------- | -------------
113
129
  **member_guid** | **String**| The unique identifier for a `member`. |
114
130
  **user_guid** | **String**| The unique identifier for a `user`. |
131
+ **page** | **Integer**| Specify current page. | [optional]
132
+ **records_per_page** | **Integer**| Specify records per page. | [optional]
115
133
 
116
134
  ### Return type
117
135
 
data/docs/MerchantsApi.md CHANGED
@@ -9,7 +9,7 @@ Method | HTTP request | Description
9
9
 
10
10
 
11
11
  # **list_merchant_locations**
12
- > MerchantLocationsResponseBody list_merchant_locations(merchant_guid, )
12
+ > MerchantLocationsResponseBody list_merchant_locations(merchant_guid, , opts)
13
13
 
14
14
  List merchant locations
15
15
 
@@ -23,10 +23,14 @@ require 'atrium-ruby'
23
23
  client = Atrium::AtriumClient.new("YOUR_API_KEY", "YOUR_CLIENT_ID")
24
24
 
25
25
  merchant_guid = "MCH-123" # String | The unique identifier for a `merchant`.
26
+ opts = {
27
+ page: 1, # Integer | Specify current page.
28
+ records_per_page: 12 # Integer | Specify records per page.
29
+ }
26
30
 
27
31
  begin
28
32
  #List merchant locations
29
- response = client.merchants.list_merchant_locations(merchant_guid, )
33
+ response = client.merchants.list_merchant_locations(merchant_guid, , opts)
30
34
  p response
31
35
  rescue Atrium::ApiError => e
32
36
  puts "Exception when calling MerchantsApi->list_merchant_locations: #{e}"
@@ -38,13 +42,15 @@ end
38
42
  Name | Type | Description | Notes
39
43
  ------------- | ------------- | ------------- | -------------
40
44
  **merchant_guid** | **String**| The unique identifier for a `merchant`. |
45
+ **page** | **Integer**| Specify current page. | [optional]
46
+ **records_per_page** | **Integer**| Specify records per page. | [optional]
41
47
 
42
48
  ### Return type
43
49
 
44
50
  [**MerchantLocationsResponseBody**](MerchantLocationsResponseBody.md)
45
51
 
46
52
  # **list_merchants**
47
- > MerchantsResponseBody list_merchants
53
+ > MerchantsResponseBody list_merchants(opts)
48
54
 
49
55
  List merchants
50
56
 
@@ -57,9 +63,14 @@ require 'atrium-ruby'
57
63
 
58
64
  client = Atrium::AtriumClient.new("YOUR_API_KEY", "YOUR_CLIENT_ID")
59
65
 
66
+ opts = {
67
+ page: 1, # Integer | Specify current page.
68
+ records_per_page: 12 # Integer | Specify records per page.
69
+ }
70
+
60
71
  begin
61
72
  #List merchants
62
- response = client.merchants.list_merchants
73
+ response = client.merchants.list_merchants(opts)
63
74
  p response
64
75
  rescue Atrium::ApiError => e
65
76
  puts "Exception when calling MerchantsApi->list_merchants: #{e}"
@@ -67,7 +78,11 @@ end
67
78
  ```
68
79
 
69
80
  ### Parameters
70
- This endpoint does not need any parameter.
81
+
82
+ Name | Type | Description | Notes
83
+ ------------- | ------------- | ------------- | -------------
84
+ **page** | **Integer**| Specify current page. | [optional]
85
+ **records_per_page** | **Integer**| Specify records per page. | [optional]
71
86
 
72
87
  ### Return type
73
88
 
@@ -19,6 +19,8 @@ module Atrium
19
19
  # Use this endpoint to read all holdings associated with a specific user.
20
20
  # @param user_guid The unique identifier for a `user`.
21
21
  # @param [Hash] opts the optional parameters
22
+ # @option opts [Integer] :page Specify current page.
23
+ # @option opts [Integer] :records_per_page Specify records per page.
22
24
  # @return [HoldingsResponseBody]
23
25
  def list_holdings(user_guid, opts = {})
24
26
  data, _status_code, _headers = list_holdings_with_http_info(user_guid, opts)
@@ -30,6 +32,8 @@ module Atrium
30
32
  # @param account_guid The unique identifier for an `account`.
31
33
  # @param user_guid The unique identifier for a `user`.
32
34
  # @param [Hash] opts the optional parameters
35
+ # @option opts [Integer] :page Specify current page.
36
+ # @option opts [Integer] :records_per_page Specify records per page.
33
37
  # @return [HoldingsResponseBody]
34
38
  def list_holdings_by_account(account_guid, user_guid, opts = {})
35
39
  data, _status_code, _headers = list_holdings_by_account_with_http_info(account_guid, user_guid, opts)
@@ -41,6 +45,8 @@ module Atrium
41
45
  # @param member_guid The unique identifier for a `member`.
42
46
  # @param user_guid The unique identifier for a `user`.
43
47
  # @param [Hash] opts the optional parameters
48
+ # @option opts [Integer] :page Specify current page.
49
+ # @option opts [Integer] :records_per_page Specify records per page.
44
50
  # @return [HoldingsResponseBody]
45
51
  def list_holdings_by_member(member_guid, user_guid, opts = {})
46
52
  data, _status_code, _headers = list_holdings_by_member_with_http_info(member_guid, user_guid, opts)
@@ -65,6 +71,8 @@ module Atrium
65
71
  # Use this endpoint to read all holdings associated with a specific user.
66
72
  # @param user_guid The unique identifier for a `user`.
67
73
  # @param [Hash] opts the optional parameters
74
+ # @option opts [Integer] :page Specify current page.
75
+ # @option opts [Integer] :records_per_page Specify records per page.
68
76
  # @return [Array<(HoldingsResponseBody, Fixnum, Hash)>] HoldingsResponseBody data, response status code and response headers
69
77
  def list_holdings_with_http_info(user_guid, opts = {})
70
78
  if @api_client.config.debugging
@@ -79,6 +87,8 @@ module Atrium
79
87
 
80
88
  # query parameters
81
89
  query_params = {}
90
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
91
+ query_params[:'records_per_page'] = opts[:'records_per_page'] if !opts[:'records_per_page'].nil?
82
92
 
83
93
  # header parameters
84
94
  header_params = {}
@@ -108,6 +118,8 @@ module Atrium
108
118
  # @param account_guid The unique identifier for an &#x60;account&#x60;.
109
119
  # @param user_guid The unique identifier for a &#x60;user&#x60;.
110
120
  # @param [Hash] opts the optional parameters
121
+ # @option opts [Integer] :page Specify current page.
122
+ # @option opts [Integer] :records_per_page Specify records per page.
111
123
  # @return [Array<(HoldingsResponseBody, Fixnum, Hash)>] HoldingsResponseBody data, response status code and response headers
112
124
  def list_holdings_by_account_with_http_info(account_guid, user_guid, opts = {})
113
125
  if @api_client.config.debugging
@@ -126,6 +138,8 @@ module Atrium
126
138
 
127
139
  # query parameters
128
140
  query_params = {}
141
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
142
+ query_params[:'records_per_page'] = opts[:'records_per_page'] if !opts[:'records_per_page'].nil?
129
143
 
130
144
  # header parameters
131
145
  header_params = {}
@@ -155,6 +169,8 @@ module Atrium
155
169
  # @param member_guid The unique identifier for a &#x60;member&#x60;.
156
170
  # @param user_guid The unique identifier for a &#x60;user&#x60;.
157
171
  # @param [Hash] opts the optional parameters
172
+ # @option opts [Integer] :page Specify current page.
173
+ # @option opts [Integer] :records_per_page Specify records per page.
158
174
  # @return [Array<(HoldingsResponseBody, Fixnum, Hash)>] HoldingsResponseBody data, response status code and response headers
159
175
  def list_holdings_by_member_with_http_info(member_guid, user_guid, opts = {})
160
176
  if @api_client.config.debugging
@@ -173,6 +189,8 @@ module Atrium
173
189
 
174
190
  # query parameters
175
191
  query_params = {}
192
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
193
+ query_params[:'records_per_page'] = opts[:'records_per_page'] if !opts[:'records_per_page'].nil?
176
194
 
177
195
  # header parameters
178
196
  header_params = {}
@@ -19,6 +19,8 @@ module Atrium
19
19
  # Returns a list of all the merchant locations associated with a merchant, including physical location, latitude, longitude, etc.
20
20
  # @param merchant_guid The unique identifier for a &#x60;merchant&#x60;.
21
21
  # @param [Hash] opts the optional parameters
22
+ # @option opts [Integer] :page Specify current page.
23
+ # @option opts [Integer] :records_per_page Specify records per page.
22
24
  # @return [MerchantLocationsResponseBody]
23
25
  def list_merchant_locations(merchant_guid, opts = {})
24
26
  data, _status_code, _headers = list_merchant_locations_with_http_info(merchant_guid, opts)
@@ -28,6 +30,8 @@ module Atrium
28
30
  # List merchants
29
31
  # Returns a list of merchnants.
30
32
  # @param [Hash] opts the optional parameters
33
+ # @option opts [Integer] :page Specify current page.
34
+ # @option opts [Integer] :records_per_page Specify records per page.
31
35
  # @return [MerchantsResponseBody]
32
36
  def list_merchants(opts = {})
33
37
  data, _status_code, _headers = list_merchants_with_http_info(opts)
@@ -62,6 +66,8 @@ module Atrium
62
66
  # Returns a list of all the merchant locations associated with a merchant, including physical location, latitude, longitude, etc.
63
67
  # @param merchant_guid The unique identifier for a &#x60;merchant&#x60;.
64
68
  # @param [Hash] opts the optional parameters
69
+ # @option opts [Integer] :page Specify current page.
70
+ # @option opts [Integer] :records_per_page Specify records per page.
65
71
  # @return [Array<(MerchantLocationsResponseBody, Fixnum, Hash)>] MerchantLocationsResponseBody data, response status code and response headers
66
72
  def list_merchant_locations_with_http_info(merchant_guid, opts = {})
67
73
  if @api_client.config.debugging
@@ -76,6 +82,8 @@ module Atrium
76
82
 
77
83
  # query parameters
78
84
  query_params = {}
85
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
86
+ query_params[:'records_per_page'] = opts[:'records_per_page'] if !opts[:'records_per_page'].nil?
79
87
 
80
88
  # header parameters
81
89
  header_params = {}
@@ -103,6 +111,8 @@ module Atrium
103
111
  # List merchants
104
112
  # Returns a list of merchnants.
105
113
  # @param [Hash] opts the optional parameters
114
+ # @option opts [Integer] :page Specify current page.
115
+ # @option opts [Integer] :records_per_page Specify records per page.
106
116
  # @return [Array<(MerchantsResponseBody, Fixnum, Hash)>] MerchantsResponseBody data, response status code and response headers
107
117
  def list_merchants_with_http_info(opts = {})
108
118
  if @api_client.config.debugging
@@ -113,6 +123,8 @@ module Atrium
113
123
 
114
124
  # query parameters
115
125
  query_params = {}
126
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
127
+ query_params[:'records_per_page'] = opts[:'records_per_page'] if !opts[:'records_per_page'].nil?
116
128
 
117
129
  # header parameters
118
130
  header_params = {}
@@ -7,5 +7,5 @@
7
7
  =end
8
8
 
9
9
  module Atrium
10
- VERSION = '2.10.6'
10
+ VERSION = '2.10.7'
11
11
  end
@@ -32,6 +32,8 @@ describe 'HoldingsApi' do
32
32
  # Use this endpoint to read all holdings associated with a specific user.
33
33
  # @param user_guid The unique identifier for a &#x60;user&#x60;.
34
34
  # @param [Hash] opts the optional parameters
35
+ # @option opts [Integer] :page Specify current page.
36
+ # @option opts [Integer] :records_per_page Specify records per page.
35
37
  # @return [HoldingsResponseBody]
36
38
  describe 'list_holdings test' do
37
39
  it 'should work' do
@@ -45,6 +47,8 @@ describe 'HoldingsApi' do
45
47
  # @param account_guid The unique identifier for an &#x60;account&#x60;.
46
48
  # @param user_guid The unique identifier for a &#x60;user&#x60;.
47
49
  # @param [Hash] opts the optional parameters
50
+ # @option opts [Integer] :page Specify current page.
51
+ # @option opts [Integer] :records_per_page Specify records per page.
48
52
  # @return [HoldingsResponseBody]
49
53
  describe 'list_holdings_by_account test' do
50
54
  it 'should work' do
@@ -58,6 +62,8 @@ describe 'HoldingsApi' do
58
62
  # @param member_guid The unique identifier for a &#x60;member&#x60;.
59
63
  # @param user_guid The unique identifier for a &#x60;user&#x60;.
60
64
  # @param [Hash] opts the optional parameters
65
+ # @option opts [Integer] :page Specify current page.
66
+ # @option opts [Integer] :records_per_page Specify records per page.
61
67
  # @return [HoldingsResponseBody]
62
68
  describe 'list_holdings_by_member test' do
63
69
  it 'should work' do
@@ -32,6 +32,8 @@ describe 'MerchantsApi' do
32
32
  # Returns a list of all the merchant locations associated with a merchant, including physical location, latitude, longitude, etc.
33
33
  # @param merchant_guid The unique identifier for a &#x60;merchant&#x60;.
34
34
  # @param [Hash] opts the optional parameters
35
+ # @option opts [Integer] :page Specify current page.
36
+ # @option opts [Integer] :records_per_page Specify records per page.
35
37
  # @return [MerchantLocationsResponseBody]
36
38
  describe 'list_merchant_locations test' do
37
39
  it 'should work' do
@@ -43,6 +45,8 @@ describe 'MerchantsApi' do
43
45
  # List merchants
44
46
  # Returns a list of merchnants.
45
47
  # @param [Hash] opts the optional parameters
48
+ # @option opts [Integer] :page Specify current page.
49
+ # @option opts [Integer] :records_per_page Specify records per page.
46
50
  # @return [MerchantsResponseBody]
47
51
  describe 'list_merchants test' do
48
52
  it 'should work' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atrium-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.6
4
+ version: 2.10.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - MX
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-20 00:00:00.000000000 Z
11
+ date: 2021-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -455,7 +455,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
455
455
  - !ruby/object:Gem::Version
456
456
  version: '0'
457
457
  requirements: []
458
- rubygems_version: 3.2.14
458
+ rubygems_version: 3.2.22
459
459
  signing_key:
460
460
  specification_version: 4
461
461
  summary: Ruby wrapper for the Atrium API by MX