Class: Paystackapi::PaystackCustomers
- Inherits:
-
Object
- Object
- Paystackapi::PaystackCustomers
- Defined in:
- lib/paystackapi.rb
Class Method Summary collapse
Class Method Details
.create(body) ⇒ Object
32 33 34 |
# File 'lib/paystackapi.rb', line 32 def self.create(body) Transaction.create_customer(body) end |
.list ⇒ Object
35 36 37 |
# File 'lib/paystackapi.rb', line 35 def self.list Transaction.list_customer end |
.list_single(body) ⇒ Object
38 39 40 |
# File 'lib/paystackapi.rb', line 38 def self.list_single(body) Transaction.fetch_a_customer(body) end |