trinsic_api 2.2.0 → 2.3.0.pre.alpha1

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 (64) hide show
  1. checksums.yaml +4 -4
  2. data/docs/AddRedirectUriResponse.md +18 -0
  3. data/docs/ContractField.md +2 -0
  4. data/docs/ContractIdentifierField.md +22 -0
  5. data/docs/CreateVerificationProfileResponse.md +18 -0
  6. data/docs/EnvironmentRedirectUrisAddRequest.md +18 -0
  7. data/docs/EnvironmentRedirectUrisApi.md +222 -0
  8. data/docs/FaydaProviderOutput.md +18 -0
  9. data/docs/Identifier.md +22 -0
  10. data/docs/IdentityData.md +5 -1
  11. data/docs/ListEnvironmentRedirectUrisResponse.md +20 -0
  12. data/docs/ListVerificationProfilesResponse.md +20 -0
  13. data/docs/MexicoCurpProviderOutput.md +18 -0
  14. data/docs/ProviderContract.md +2 -0
  15. data/docs/ProviderOutput.md +22 -0
  16. data/docs/RedirectUriResponse.md +20 -0
  17. data/docs/SpidBillingInformation.md +22 -0
  18. data/docs/SpidInput.md +3 -1
  19. data/docs/SpidProviderOutput.md +26 -0
  20. data/docs/VerificationProfileResponse.md +28 -0
  21. data/docs/VerificationProfilesApi.md +231 -0
  22. data/lib/trinsic_api/api/environment_redirect_uris_api.rb +228 -0
  23. data/lib/trinsic_api/api/verification_profiles_api.rb +273 -0
  24. data/lib/trinsic_api/models/add_redirect_uri_response.rb +237 -0
  25. data/lib/trinsic_api/models/contract_field.rb +28 -1
  26. data/lib/trinsic_api/models/contract_identifier_field.rb +315 -0
  27. data/lib/trinsic_api/models/create_verification_profile_response.rb +238 -0
  28. data/lib/trinsic_api/models/environment_redirect_uris_add_request.rb +237 -0
  29. data/lib/trinsic_api/models/fayda_provider_output.rb +222 -0
  30. data/lib/trinsic_api/models/identifier.rb +289 -0
  31. data/lib/trinsic_api/models/identity_data.rb +43 -5
  32. data/lib/trinsic_api/models/list_environment_redirect_uris_response.rb +268 -0
  33. data/lib/trinsic_api/models/list_verification_profiles_response.rb +266 -0
  34. data/lib/trinsic_api/models/mexico_curp_provider_output.rb +222 -0
  35. data/lib/trinsic_api/models/provider_contract.rb +14 -1
  36. data/lib/trinsic_api/models/provider_output.rb +241 -0
  37. data/lib/trinsic_api/models/redirect_uri_response.rb +263 -0
  38. data/lib/trinsic_api/models/spid_billing_information.rb +293 -0
  39. data/lib/trinsic_api/models/spid_input.rb +16 -5
  40. data/lib/trinsic_api/models/spid_provider_output.rb +266 -0
  41. data/lib/trinsic_api/models/verification_profile_response.rb +375 -0
  42. data/lib/trinsic_api/version.rb +1 -1
  43. data/lib/trinsic_api.rb +16 -0
  44. data/spec/api/environment_redirect_uris_api_spec.rb +72 -0
  45. data/spec/api/verification_profiles_api_spec.rb +76 -0
  46. data/spec/models/add_redirect_uri_response_spec.rb +36 -0
  47. data/spec/models/contract_field_spec.rb +6 -0
  48. data/spec/models/contract_identifier_field_spec.rb +48 -0
  49. data/spec/models/create_verification_profile_response_spec.rb +36 -0
  50. data/spec/models/environment_redirect_uris_add_request_spec.rb +36 -0
  51. data/spec/models/fayda_provider_output_spec.rb +36 -0
  52. data/spec/models/identifier_spec.rb +48 -0
  53. data/spec/models/identity_data_spec.rb +12 -0
  54. data/spec/models/list_environment_redirect_uris_response_spec.rb +42 -0
  55. data/spec/models/list_verification_profiles_response_spec.rb +42 -0
  56. data/spec/models/mexico_curp_provider_output_spec.rb +36 -0
  57. data/spec/models/provider_contract_spec.rb +6 -0
  58. data/spec/models/provider_output_spec.rb +48 -0
  59. data/spec/models/redirect_uri_response_spec.rb +42 -0
  60. data/spec/models/spid_billing_information_spec.rb +48 -0
  61. data/spec/models/spid_input_spec.rb +6 -0
  62. data/spec/models/spid_provider_output_spec.rb +60 -0
  63. data/spec/models/verification_profile_response_spec.rb +66 -0
  64. metadata +66 -2
@@ -0,0 +1,231 @@
1
+ # TrinsicApi::VerificationProfilesApi
2
+
3
+ All URIs are relative to *https://api.trinsic.id*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create_verification_profile**](VerificationProfilesApi.md#create_verification_profile) | **POST** /api/valpha/verification-profiles | Create Verification Profile |
8
+ | [**get_verification_profile_by_id**](VerificationProfilesApi.md#get_verification_profile_by_id) | **GET** /api/valpha/verification-profiles/{id} | Get Verification Profile |
9
+ | [**list_verification_profiles**](VerificationProfilesApi.md#list_verification_profiles) | **GET** /api/valpha/verification-profiles | List Verification Profiles |
10
+
11
+
12
+ ## create_verification_profile
13
+
14
+ > <CreateVerificationProfileResponse> create_verification_profile(_alias, brand_name, opts)
15
+
16
+ Create Verification Profile
17
+
18
+ Creates a new verification profile within your organization.
19
+
20
+ ### Examples
21
+
22
+ ```ruby
23
+ require 'time'
24
+ require 'trinsic_api'
25
+ # setup authorization
26
+ TrinsicApi.configure do |config|
27
+ # Configure Bearer authorization: Bearer
28
+ config.access_token = 'YOUR_BEARER_TOKEN'
29
+ end
30
+
31
+ api_instance = TrinsicApi::VerificationProfilesApi.new
32
+ _alias = '_alias_example' # String | An alias of the verification profile shown to developers and administrators.
33
+ brand_name = 'brand_name_example' # String | The brand name of the verification profile shown to end-users.
34
+ opts = {
35
+ primary_color: 'primary_color_example', # String | The primary color of the verification profile. Must be a 6-character hex string prefixed with a '#' character. Example: #000000
36
+ providers: ['inner_example'], # Array<String> | The list of providers you'd like to select for this profile. We will not currently enable any providers.
37
+ logo: File.new('/path/to/some/file') # File | The logo of the verification profile.
38
+ }
39
+
40
+ begin
41
+ # Create Verification Profile
42
+ result = api_instance.create_verification_profile(_alias, brand_name, opts)
43
+ p result
44
+ rescue TrinsicApi::ApiError => e
45
+ puts "Error when calling VerificationProfilesApi->create_verification_profile: #{e}"
46
+ end
47
+ ```
48
+
49
+ #### Using the create_verification_profile_with_http_info variant
50
+
51
+ This returns an Array which contains the response data, status code and headers.
52
+
53
+ > <Array(<CreateVerificationProfileResponse>, Integer, Hash)> create_verification_profile_with_http_info(_alias, brand_name, opts)
54
+
55
+ ```ruby
56
+ begin
57
+ # Create Verification Profile
58
+ data, status_code, headers = api_instance.create_verification_profile_with_http_info(_alias, brand_name, opts)
59
+ p status_code # => 2xx
60
+ p headers # => { ... }
61
+ p data # => <CreateVerificationProfileResponse>
62
+ rescue TrinsicApi::ApiError => e
63
+ puts "Error when calling VerificationProfilesApi->create_verification_profile_with_http_info: #{e}"
64
+ end
65
+ ```
66
+
67
+ ### Parameters
68
+
69
+ | Name | Type | Description | Notes |
70
+ | ---- | ---- | ----------- | ----- |
71
+ | **_alias** | **String** | An alias of the verification profile shown to developers and administrators. | |
72
+ | **brand_name** | **String** | The brand name of the verification profile shown to end-users. | |
73
+ | **primary_color** | **String** | The primary color of the verification profile. Must be a 6-character hex string prefixed with a &#39;#&#39; character. Example: #000000 | [optional] |
74
+ | **providers** | [**Array&lt;String&gt;**](String.md) | The list of providers you&#39;d like to select for this profile. We will not currently enable any providers. | [optional] |
75
+ | **logo** | **File** | The logo of the verification profile. | [optional] |
76
+
77
+ ### Return type
78
+
79
+ [**CreateVerificationProfileResponse**](CreateVerificationProfileResponse.md)
80
+
81
+ ### Authorization
82
+
83
+ [Bearer](../README.md#Bearer)
84
+
85
+ ### HTTP request headers
86
+
87
+ - **Content-Type**: multipart/form-data
88
+ - **Accept**: text/plain, application/json, text/json, application/problem+json
89
+
90
+
91
+ ## get_verification_profile_by_id
92
+
93
+ > <VerificationProfileResponse> get_verification_profile_by_id(id)
94
+
95
+ Get Verification Profile
96
+
97
+ Gets a specific verification profile by ID.
98
+
99
+ ### Examples
100
+
101
+ ```ruby
102
+ require 'time'
103
+ require 'trinsic_api'
104
+ # setup authorization
105
+ TrinsicApi.configure do |config|
106
+ # Configure Bearer authorization: Bearer
107
+ config.access_token = 'YOUR_BEARER_TOKEN'
108
+ end
109
+
110
+ api_instance = TrinsicApi::VerificationProfilesApi.new
111
+ id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
112
+
113
+ begin
114
+ # Get Verification Profile
115
+ result = api_instance.get_verification_profile_by_id(id)
116
+ p result
117
+ rescue TrinsicApi::ApiError => e
118
+ puts "Error when calling VerificationProfilesApi->get_verification_profile_by_id: #{e}"
119
+ end
120
+ ```
121
+
122
+ #### Using the get_verification_profile_by_id_with_http_info variant
123
+
124
+ This returns an Array which contains the response data, status code and headers.
125
+
126
+ > <Array(<VerificationProfileResponse>, Integer, Hash)> get_verification_profile_by_id_with_http_info(id)
127
+
128
+ ```ruby
129
+ begin
130
+ # Get Verification Profile
131
+ data, status_code, headers = api_instance.get_verification_profile_by_id_with_http_info(id)
132
+ p status_code # => 2xx
133
+ p headers # => { ... }
134
+ p data # => <VerificationProfileResponse>
135
+ rescue TrinsicApi::ApiError => e
136
+ puts "Error when calling VerificationProfilesApi->get_verification_profile_by_id_with_http_info: #{e}"
137
+ end
138
+ ```
139
+
140
+ ### Parameters
141
+
142
+ | Name | Type | Description | Notes |
143
+ | ---- | ---- | ----------- | ----- |
144
+ | **id** | **String** | | |
145
+
146
+ ### Return type
147
+
148
+ [**VerificationProfileResponse**](VerificationProfileResponse.md)
149
+
150
+ ### Authorization
151
+
152
+ [Bearer](../README.md#Bearer)
153
+
154
+ ### HTTP request headers
155
+
156
+ - **Content-Type**: Not defined
157
+ - **Accept**: text/plain, application/json, text/json, application/problem+json
158
+
159
+
160
+ ## list_verification_profiles
161
+
162
+ > <ListVerificationProfilesResponse> list_verification_profiles(opts)
163
+
164
+ List Verification Profiles
165
+
166
+ List the verification profiles for the current organization and environment.
167
+
168
+ ### Examples
169
+
170
+ ```ruby
171
+ require 'time'
172
+ require 'trinsic_api'
173
+ # setup authorization
174
+ TrinsicApi.configure do |config|
175
+ # Configure Bearer authorization: Bearer
176
+ config.access_token = 'YOUR_BEARER_TOKEN'
177
+ end
178
+
179
+ api_instance = TrinsicApi::VerificationProfilesApi.new
180
+ opts = {
181
+ page: 56, # Integer |
182
+ page_size: 56 # Integer | Size of the list to be returned. Accepted range from 1 to 100
183
+ }
184
+
185
+ begin
186
+ # List Verification Profiles
187
+ result = api_instance.list_verification_profiles(opts)
188
+ p result
189
+ rescue TrinsicApi::ApiError => e
190
+ puts "Error when calling VerificationProfilesApi->list_verification_profiles: #{e}"
191
+ end
192
+ ```
193
+
194
+ #### Using the list_verification_profiles_with_http_info variant
195
+
196
+ This returns an Array which contains the response data, status code and headers.
197
+
198
+ > <Array(<ListVerificationProfilesResponse>, Integer, Hash)> list_verification_profiles_with_http_info(opts)
199
+
200
+ ```ruby
201
+ begin
202
+ # List Verification Profiles
203
+ data, status_code, headers = api_instance.list_verification_profiles_with_http_info(opts)
204
+ p status_code # => 2xx
205
+ p headers # => { ... }
206
+ p data # => <ListVerificationProfilesResponse>
207
+ rescue TrinsicApi::ApiError => e
208
+ puts "Error when calling VerificationProfilesApi->list_verification_profiles_with_http_info: #{e}"
209
+ end
210
+ ```
211
+
212
+ ### Parameters
213
+
214
+ | Name | Type | Description | Notes |
215
+ | ---- | ---- | ----------- | ----- |
216
+ | **page** | **Integer** | | [optional][default to 1] |
217
+ | **page_size** | **Integer** | Size of the list to be returned. Accepted range from 1 to 100 | [optional][default to 20] |
218
+
219
+ ### Return type
220
+
221
+ [**ListVerificationProfilesResponse**](ListVerificationProfilesResponse.md)
222
+
223
+ ### Authorization
224
+
225
+ [Bearer](../README.md#Bearer)
226
+
227
+ ### HTTP request headers
228
+
229
+ - **Content-Type**: Not defined
230
+ - **Accept**: text/plain, application/json, text/json, application/problem+json
231
+
@@ -0,0 +1,228 @@
1
+ =begin
2
+ #Trinsic API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.13.0
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module TrinsicApi
16
+ class EnvironmentRedirectUrisApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Add Redirect URI
23
+ # Add a new redirect uri to the environment.
24
+ # @param [Hash] opts the optional parameters
25
+ # @option opts [EnvironmentRedirectUrisAddRequest] :environment_redirect_uris_add_request Request for uri to add to the environment. Must be absolute, not relative. Wildcard \&quot;*\&quot; accepted.
26
+ # @return [AddRedirectUriResponse]
27
+ def add(opts = {})
28
+ data, _status_code, _headers = add_with_http_info(opts)
29
+ data
30
+ end
31
+
32
+ # Add Redirect URI
33
+ # Add a new redirect uri to the environment.
34
+ # @param [Hash] opts the optional parameters
35
+ # @option opts [EnvironmentRedirectUrisAddRequest] :environment_redirect_uris_add_request Request for uri to add to the environment. Must be absolute, not relative. Wildcard \&quot;*\&quot; accepted.
36
+ # @return [Array<(AddRedirectUriResponse, Integer, Hash)>] AddRedirectUriResponse data, response status code and response headers
37
+ def add_with_http_info(opts = {})
38
+ if @api_client.config.debugging
39
+ @api_client.config.logger.debug 'Calling API: EnvironmentRedirectUrisApi.add ...'
40
+ end
41
+ # resource path
42
+ local_var_path = '/api/valpha/environments/redirect-uris'
43
+
44
+ # query parameters
45
+ query_params = opts[:query_params] || {}
46
+
47
+ # header parameters
48
+ header_params = opts[:header_params] || {}
49
+ # HTTP header 'Accept' (if needed)
50
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json', 'application/problem+json']) unless header_params['Accept']
51
+ # HTTP header 'Content-Type'
52
+ content_type = @api_client.select_header_content_type(['application/json', 'text/json', 'application/*+json'])
53
+ if !content_type.nil?
54
+ header_params['Content-Type'] = content_type
55
+ end
56
+
57
+ # form parameters
58
+ form_params = opts[:form_params] || {}
59
+
60
+ # http body (model)
61
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'environment_redirect_uris_add_request'])
62
+
63
+ # return_type
64
+ return_type = opts[:debug_return_type] || 'AddRedirectUriResponse'
65
+
66
+ # auth_names
67
+ auth_names = opts[:debug_auth_names] || ['Bearer']
68
+
69
+ new_options = opts.merge(
70
+ :operation => :"EnvironmentRedirectUrisApi.add",
71
+ :header_params => header_params,
72
+ :query_params => query_params,
73
+ :form_params => form_params,
74
+ :body => post_body,
75
+ :auth_names => auth_names,
76
+ :return_type => return_type
77
+ )
78
+
79
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
80
+ if @api_client.config.debugging
81
+ @api_client.config.logger.debug "API called: EnvironmentRedirectUrisApi#add\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
+ end
83
+ return data, status_code, headers
84
+ end
85
+
86
+ # Delete Redirect URI
87
+ # Delete a redirect uri from the environment.
88
+ # @param id [String] The id of the redirect uri to delete.
89
+ # @param [Hash] opts the optional parameters
90
+ # @return [nil]
91
+ def delete(id, opts = {})
92
+ delete_with_http_info(id, opts)
93
+ nil
94
+ end
95
+
96
+ # Delete Redirect URI
97
+ # Delete a redirect uri from the environment.
98
+ # @param id [String] The id of the redirect uri to delete.
99
+ # @param [Hash] opts the optional parameters
100
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
101
+ def delete_with_http_info(id, opts = {})
102
+ if @api_client.config.debugging
103
+ @api_client.config.logger.debug 'Calling API: EnvironmentRedirectUrisApi.delete ...'
104
+ end
105
+ # verify the required parameter 'id' is set
106
+ if @api_client.config.client_side_validation && id.nil?
107
+ fail ArgumentError, "Missing the required parameter 'id' when calling EnvironmentRedirectUrisApi.delete"
108
+ end
109
+ # resource path
110
+ local_var_path = '/api/valpha/environments/redirect-uris/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
111
+
112
+ # query parameters
113
+ query_params = opts[:query_params] || {}
114
+
115
+ # header parameters
116
+ header_params = opts[:header_params] || {}
117
+ # HTTP header 'Accept' (if needed)
118
+ header_params['Accept'] = @api_client.select_header_accept(['application/problem+json']) unless header_params['Accept']
119
+
120
+ # form parameters
121
+ form_params = opts[:form_params] || {}
122
+
123
+ # http body (model)
124
+ post_body = opts[:debug_body]
125
+
126
+ # return_type
127
+ return_type = opts[:debug_return_type]
128
+
129
+ # auth_names
130
+ auth_names = opts[:debug_auth_names] || ['Bearer']
131
+
132
+ new_options = opts.merge(
133
+ :operation => :"EnvironmentRedirectUrisApi.delete",
134
+ :header_params => header_params,
135
+ :query_params => query_params,
136
+ :form_params => form_params,
137
+ :body => post_body,
138
+ :auth_names => auth_names,
139
+ :return_type => return_type
140
+ )
141
+
142
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
143
+ if @api_client.config.debugging
144
+ @api_client.config.logger.debug "API called: EnvironmentRedirectUrisApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
145
+ end
146
+ return data, status_code, headers
147
+ end
148
+
149
+ # List Redirect URIs
150
+ # List redirect URIs within the environment.
151
+ # @param [Hash] opts the optional parameters
152
+ # @option opts [Integer] :page Number of pages of uris to return. (default to 1)
153
+ # @option opts [Integer] :page_size Size of the list to be returned. Accepted range from 1 to 100 (default to 20)
154
+ # @return [ListEnvironmentRedirectUrisResponse]
155
+ def list(opts = {})
156
+ data, _status_code, _headers = list_with_http_info(opts)
157
+ data
158
+ end
159
+
160
+ # List Redirect URIs
161
+ # List redirect URIs within the environment.
162
+ # @param [Hash] opts the optional parameters
163
+ # @option opts [Integer] :page Number of pages of uris to return. (default to 1)
164
+ # @option opts [Integer] :page_size Size of the list to be returned. Accepted range from 1 to 100 (default to 20)
165
+ # @return [Array<(ListEnvironmentRedirectUrisResponse, Integer, Hash)>] ListEnvironmentRedirectUrisResponse data, response status code and response headers
166
+ def list_with_http_info(opts = {})
167
+ if @api_client.config.debugging
168
+ @api_client.config.logger.debug 'Calling API: EnvironmentRedirectUrisApi.list ...'
169
+ end
170
+ if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] > 2147483647
171
+ fail ArgumentError, 'invalid value for "opts[:"page"]" when calling EnvironmentRedirectUrisApi.list, must be smaller than or equal to 2147483647.'
172
+ end
173
+
174
+ if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] < 1
175
+ fail ArgumentError, 'invalid value for "opts[:"page"]" when calling EnvironmentRedirectUrisApi.list, must be greater than or equal to 1.'
176
+ end
177
+
178
+ if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 100
179
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling EnvironmentRedirectUrisApi.list, must be smaller than or equal to 100.'
180
+ end
181
+
182
+ if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
183
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling EnvironmentRedirectUrisApi.list, must be greater than or equal to 1.'
184
+ end
185
+
186
+ # resource path
187
+ local_var_path = '/api/valpha/environments/redirect-uris'
188
+
189
+ # query parameters
190
+ query_params = opts[:query_params] || {}
191
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
192
+ query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
193
+
194
+ # header parameters
195
+ header_params = opts[:header_params] || {}
196
+ # HTTP header 'Accept' (if needed)
197
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json', 'application/problem+json']) unless header_params['Accept']
198
+
199
+ # form parameters
200
+ form_params = opts[:form_params] || {}
201
+
202
+ # http body (model)
203
+ post_body = opts[:debug_body]
204
+
205
+ # return_type
206
+ return_type = opts[:debug_return_type] || 'ListEnvironmentRedirectUrisResponse'
207
+
208
+ # auth_names
209
+ auth_names = opts[:debug_auth_names] || ['Bearer']
210
+
211
+ new_options = opts.merge(
212
+ :operation => :"EnvironmentRedirectUrisApi.list",
213
+ :header_params => header_params,
214
+ :query_params => query_params,
215
+ :form_params => form_params,
216
+ :body => post_body,
217
+ :auth_names => auth_names,
218
+ :return_type => return_type
219
+ )
220
+
221
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
222
+ if @api_client.config.debugging
223
+ @api_client.config.logger.debug "API called: EnvironmentRedirectUrisApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
224
+ end
225
+ return data, status_code, headers
226
+ end
227
+ end
228
+ end