Module: Airwallex::APIOperations::Retrieve
- Included in:
- BatchTransfer, Beneficiary, Conversion, Customer, Dispute, PaymentIntent, PaymentMethod, Quote, Rate, Refund, Transfer
- Defined in:
- lib/airwallex/api_operations/retrieve.rb
Instance Method Summary collapse
Instance Method Details
#retrieve(id, opts = {}) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/airwallex/api_operations/retrieve.rb', line 6 def retrieve(id, opts = {}) response = Airwallex.client.get( "#{resource_path}/#{id}", {}, opts[:headers] || {} ) new(response) end |