Method: Falcon::InstallationTokensApi#customer_settings_read_with_http_info
- Defined in:
- lib/crimson-falcon/api/installation_tokens_api.rb
#customer_settings_read_with_http_info(opts = {}) ⇒ Array<(ApiCustomerSettingsResponseV1, Integer, Hash)>
Check current installation token settings.
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/crimson-falcon/api/installation_tokens_api.rb', line 175 def customer_settings_read_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: InstallationTokensApi.customer_settings_read ...' end # resource path local_var_path = '/installation-tokens/entities/customer-settings/v1' # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'ApiCustomerSettingsResponseV1' # auth_names auth_names = opts[:debug_auth_names] || ['oauth2'] = opts.merge( :operation => :"InstallationTokensApi.customer_settings_read", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: InstallationTokensApi#customer_settings_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |