Module: Pingpp::APIOperations::Create

Included in:
BatchRefund, BatchTransfer, Charge, Customs, Identification, ListObject, RedEnvelope, Refund, Transfer
Defined in:
lib/pingpp/api_operations/create.rb

Instance Method Summary collapse

Instance Method Details

#create(params = {}, opts = {}) ⇒ Object



4
5
6
7
# File 'lib/pingpp/api_operations/create.rb', line 4

def create(params={}, opts={})
  response, opts = request(:post, resource_url(opts), params, opts)
  Util.convert_to_pingpp_object(response, opts)
end