Class: Paystackapi::PaystackTransfer

Inherits:
Object
  • Object
show all
Defined in:
lib/paystackapi.rb

Class Method Summary collapse

Class Method Details

.finalize(body) ⇒ Object



93
94
95
# File 'lib/paystackapi.rb', line 93

def self.finalize(body)
	Transaction.finalize_transfers(body)
end

.generate(body) ⇒ Object



78
79
80
# File 'lib/paystackapi.rb', line 78

def self.generate(body)
	Transaction.create_transfer_reciept(body)
end

.initailize(body) ⇒ Object



87
88
89
# File 'lib/paystackapi.rb', line 87

def self.initailize(body)
	Transaction.init_transfer(body)
end

.list_recieptObject



81
82
83
# File 'lib/paystackapi.rb', line 81

def self.list_reciept
	Transaction.list_transfer_reciept
end

.list_transferObject



90
91
92
# File 'lib/paystackapi.rb', line 90

def self.list_transfer
	Transaction.list_transfers
end

.update_reciept(body, trf_code) ⇒ Object



84
85
86
# File 'lib/paystackapi.rb', line 84

def self.update_reciept(body, trf_code)
	Transaction.update_transfer_reciept(body)
end