Class: Upay::API
- Inherits:
-
Object
- Object
- Upay::API
- Defined in:
- lib/upay/api/api.rb
Instance Method Summary collapse
- #credit_card(args = {}) ⇒ Object
- #customer(args = {}) ⇒ Object
- #order(args = {}) ⇒ Object
- #payment(args = {}) ⇒ Object
- #plan(args = {}) ⇒ Object
- #report(args = {}) ⇒ Object
- #requestor(args = {}) ⇒ Object
- #signature(args = {}) ⇒ Object
- #subscription(args = {}) ⇒ Object
- #token(args = {}) ⇒ Object
- #transaction(args = {}) ⇒ Object
Instance Method Details
#credit_card(args = {}) ⇒ Object
3 4 5 |
# File 'lib/upay/api/api.rb', line 3 def credit_card(args = {}) CreditCard.new(args) end |
#customer(args = {}) ⇒ Object
6 7 8 |
# File 'lib/upay/api/api.rb', line 6 def customer(args = {}) Customer.new(args) end |
#order(args = {}) ⇒ Object
9 10 11 |
# File 'lib/upay/api/api.rb', line 9 def order(args = {}) Order.new(args) end |
#payment(args = {}) ⇒ Object
12 13 14 |
# File 'lib/upay/api/api.rb', line 12 def payment(args = {}) Payment.new(args) end |
#plan(args = {}) ⇒ Object
15 16 17 |
# File 'lib/upay/api/api.rb', line 15 def plan(args = {}) Plan.new(args) end |
#report(args = {}) ⇒ Object
18 19 20 |
# File 'lib/upay/api/api.rb', line 18 def report(args = {}) Report.new(args) end |
#requestor(args = {}) ⇒ Object
21 22 23 |
# File 'lib/upay/api/api.rb', line 21 def requestor(args = {}) Requestor.new(args) end |
#signature(args = {}) ⇒ Object
24 25 26 |
# File 'lib/upay/api/api.rb', line 24 def signature(args = {}) Signature.new(args) end |
#subscription(args = {}) ⇒ Object
27 28 29 |
# File 'lib/upay/api/api.rb', line 27 def subscription(args = {}) Subscription.new(args) end |
#token(args = {}) ⇒ Object
30 31 32 |
# File 'lib/upay/api/api.rb', line 30 def token(args = {}) Token.new(args) end |
#transaction(args = {}) ⇒ Object
33 34 35 |
# File 'lib/upay/api/api.rb', line 33 def transaction(args = {}) Transaction.new(args) end |