Class: PaymentGateway::Mundipagg::Order
- Inherits:
-
Base
- Object
- Base
- PaymentGateway::Mundipagg::Order
show all
- Defined in:
- lib/payment_gateway/mundipagg/order.rb
Constant Summary
Constants inherited
from Base
Base::API_URL
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#create(order_data) ⇒ Object
10
11
12
|
# File 'lib/payment_gateway/mundipagg/order.rb', line 10
def create(order_data)
request(:post, mount_url, body: order_data)
end
|
#list ⇒ Object
6
7
8
|
# File 'lib/payment_gateway/mundipagg/order.rb', line 6
def list
request(:get, mount_url)
end
|