Class: CheckoutSdk::Instruments::BaseInstrumentsClient

Inherits:
Client
  • Object
show all
Defined in:
lib/checkout_sdk/instruments/base_instruments_client.rb

Instance Attribute Summary

Attributes inherited from Client

#api_client, #authorization_type, #configuration

Instance Method Summary collapse

Instance Method Details

#delete(instrument_id) ⇒ Object

Parameters:

  • instrument_id (String)


15
16
17
# File 'lib/checkout_sdk/instruments/base_instruments_client.rb', line 15

def delete(instrument_id)
  api_client.invoke_delete(build_path(INSTRUMENTS, instrument_id), sdk_authorization)
end

#get(instrument_id) ⇒ Object

Parameters:

  • instrument_id (String)


10
11
12
# File 'lib/checkout_sdk/instruments/base_instruments_client.rb', line 10

def get(instrument_id)
  api_client.invoke_get(build_path(INSTRUMENTS, instrument_id), sdk_authorization)
end