Class: TreezorClient::IssuerInitiatedDigitizationDataApi
- Inherits:
-
Object
- Object
- TreezorClient::IssuerInitiatedDigitizationDataApi
- Defined in:
- lib/treezor_client/api/issuer_initiated_digitization_data_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#initialize(api_client = ApiClient.default) ⇒ IssuerInitiatedDigitizationDataApi
constructor
A new instance of IssuerInitiatedDigitizationDataApi.
-
#tav_request_post(opts = {}) ⇒ InlineResponse20013
Request the issuerInitiatedDigitizationData Create a new issuerInitiatedDigitizationData request.
-
#tav_request_post_with_http_info(opts = {}) ⇒ Array<(InlineResponse20013, Fixnum, Hash)>
Request the issuerInitiatedDigitizationData Create a new issuerInitiatedDigitizationData request.
-
#tavrequestget(opts = {}) ⇒ InlineResponse20013
Search issuerInitiatedDigitizationData requests Search tav issuerInitiatedDigitizationData requests that match search criteria.
-
#tavrequestget_with_http_info(opts = {}) ⇒ Array<(InlineResponse20013, Fixnum, Hash)>
Search issuerInitiatedDigitizationData requests Search tav issuerInitiatedDigitizationData requests that match search criteria.
Constructor Details
#initialize(api_client = ApiClient.default) ⇒ IssuerInitiatedDigitizationDataApi
Returns a new instance of IssuerInitiatedDigitizationDataApi.
19 20 21 |
# File 'lib/treezor_client/api/issuer_initiated_digitization_data_api.rb', line 19 def initialize(api_client = ApiClient.default) @api_client = api_client end |
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
17 18 19 |
# File 'lib/treezor_client/api/issuer_initiated_digitization_data_api.rb', line 17 def api_client @api_client end |
Instance Method Details
#tav_request_post(opts = {}) ⇒ InlineResponse20013
Request the issuerInitiatedDigitizationData Create a new issuerInitiatedDigitizationData request
31 32 33 34 |
# File 'lib/treezor_client/api/issuer_initiated_digitization_data_api.rb', line 31 def tav_request_post(opts = {}) data, _status_code, _headers = tav_request_post_with_http_info(opts) data end |
#tav_request_post_with_http_info(opts = {}) ⇒ Array<(InlineResponse20013, Fixnum, Hash)>
Request the issuerInitiatedDigitizationData Create a new issuerInitiatedDigitizationData request
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'lib/treezor_client/api/issuer_initiated_digitization_data_api.rb', line 45 def tav_request_post_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: IssuerInitiatedDigitizationDataApi.tav_request_post ...' end # resource path local_var_path = '/issuerInitiatedDigitizationDatas' # query parameters query_params = {} query_params[:'accessSignature'] = opts[:'access_signature'] if !opts[:'access_signature'].nil? query_params[:'accessTag'] = opts[:'access_tag'] if !opts[:'access_tag'].nil? query_params[:'accessUserId'] = opts[:'access_user_id'] if !opts[:'access_user_id'].nil? query_params[:'accessUserIp'] = opts[:'access_user_ip'] if !opts[:'access_user_ip'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['api_key'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'InlineResponse20013') if @api_client.config.debugging @api_client.config.logger.debug "API called: IssuerInitiatedDigitizationDataApi#tav_request_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#tavrequestget(opts = {}) ⇒ InlineResponse20013
Search issuerInitiatedDigitizationData requests Search tav issuerInitiatedDigitizationData requests that match search criteria.
98 99 100 101 |
# File 'lib/treezor_client/api/issuer_initiated_digitization_data_api.rb', line 98 def tavrequestget(opts = {}) data, _status_code, _headers = tavrequestget_with_http_info(opts) data end |
#tavrequestget_with_http_info(opts = {}) ⇒ Array<(InlineResponse20013, Fixnum, Hash)>
Search issuerInitiatedDigitizationData requests Search tav issuerInitiatedDigitizationData requests that match search criteria.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 |
# File 'lib/treezor_client/api/issuer_initiated_digitization_data_api.rb', line 117 def tavrequestget_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: IssuerInitiatedDigitizationDataApi.tavrequestget ...' end # resource path local_var_path = '/issuerInitiatedDigitizationDatas' # query parameters query_params = {} query_params[:'accessSignature'] = opts[:'access_signature'] if !opts[:'access_signature'].nil? query_params[:'accessTag'] = opts[:'access_tag'] if !opts[:'access_tag'].nil? query_params[:'accessUserId'] = opts[:'access_user_id'] if !opts[:'access_user_id'].nil? query_params[:'accessUserIp'] = opts[:'access_user_ip'] if !opts[:'access_user_ip'].nil? query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil? query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil? query_params[:'pageNumber'] = opts[:'page_number'] if !opts[:'page_number'].nil? query_params[:'pageCount'] = opts[:'page_count'] if !opts[:'page_count'].nil? query_params[:'sortBy'] = opts[:'sort_by'] if !opts[:'sort_by'].nil? query_params[:'sortOrder'] = opts[:'sort_order'] if !opts[:'sort_order'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['api_key'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'InlineResponse20013') if @api_client.config.debugging @api_client.config.logger.debug "API called: IssuerInitiatedDigitizationDataApi#tavrequestget\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |