Class: JeraPayment::Api::Iugu::Charge

Inherits:
Base
  • Object
show all
Defined in:
lib/jera_payment/api/iugu/charge.rb

Constant Summary collapse

BASE_ENDPOINT =
'charge'

Class Method Summary collapse

Methods inherited from Base

delete, ensure_account_access_token, get, parse_response, post, put, set_headers

Class Method Details

.create(body = {}, access_token = nil) ⇒ Object



6
7
8
# File 'lib/jera_payment/api/iugu/charge.rb', line 6

def self.create(body = {}, access_token = nil)
  response = post(BASE_ENDPOINT, body, access_token)
end