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