Class: Paghiper::Client

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/paghiper/client.rb

Class Method Summary collapse

Class Method Details

.create_transaction(transaction) ⇒ Object



14
15
16
# File 'lib/paghiper/client.rb', line 14

def create_transaction(transaction)
  peform_action!(:post, '/transaction/create', body: prepare_body(transaction))
end