Class: Paystackapi::PaystackPlans
- Inherits:
-
Object
- Object
- Paystackapi::PaystackPlans
- Defined in:
- lib/paystackapi.rb
Class Method Summary collapse
Class Method Details
.create(body) ⇒ Object
44 45 46 |
# File 'lib/paystackapi.rb', line 44 def self.create(body) Transaction.create_plan(body) end |
.list ⇒ Object
47 48 49 |
# File 'lib/paystackapi.rb', line 47 def self.list Transaction.list_plans end |
.list_single(body) ⇒ Object
50 51 52 |
# File 'lib/paystackapi.rb', line 50 def self.list_single(body) Transaction.list_single_plan(body) end |
.update(body) ⇒ Object
53 54 55 |
# File 'lib/paystackapi.rb', line 53 def self.update(body) Transaction.update_plan(body) end |