Module: Payjp::APIOperations::Create::ClassMethods

Defined in:
lib/payjp/api_operations/create.rb

Instance Method Summary collapse

Instance Method Details

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



5
6
7
8
# File 'lib/payjp/api_operations/create.rb', line 5

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