Class: Payg::Order
Overview
Order API allows you to associate Payments with an order entity
Instance Attribute Summary
Attributes inherited from Entity
Class Method Summary collapse
Methods inherited from Entity
#initialize, #method_missing, #respond_to_missing?, #to_json, #with_a_bang
Constructor Details
This class inherits a constructor from Payg::Entity
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Payg::Entity
Class Method Details
.create(options) ⇒ Object
12 13 14 |
# File 'lib/payg/order.rb', line 12 def self.create() request.post "/create", end |
.detail(options) ⇒ Object
16 17 18 |
# File 'lib/payg/order.rb', line 16 def self.detail() request.post "/detail", end |
.refund(options) ⇒ Object
20 21 22 |
# File 'lib/payg/order.rb', line 20 def self.refund() request.post "/detail", end |