Class: Bygpay::Deposits
- Inherits:
-
Object
- Object
- Bygpay::Deposits
- Includes:
- Utils
- Defined in:
- lib/bygpay/deposits.rb
Direct Known Subclasses
Bygpay::Deposit::Card, Bygpay::Deposit::ExpressPay, Bygpay::Deposit::Hubtel, Bygpay::Deposit::Mobile, Bygpay::Deposit::Paystack, Bygpay::Deposit::Rave
Instance Attribute Summary
Attributes included from Utils
#amount, #meta_data, #response, #response_text, #result, #status, #transaction_id, #uuid
Instance Method Summary collapse
- #charge ⇒ Object
-
#transaction_status(uuid) ⇒ Object
Return deposit transaction status.
Methods included from Utils
#card_deposit_endpoint, #deposit_status_endpoint, #expresspay_deposit_endpoint, #get_status, #http_connect, #hubtel_deposit_endpoint, #mobile_deposit_endpoint, #mobile_withdraw_endpoint, #parse_response, #paystack_deposit_endpoint, #post, #rave_deposit_endpoint, #withdraw_status_endpoint
Instance Method Details
#charge ⇒ Object
5 |
# File 'lib/bygpay/deposits.rb', line 5 def charge; end |
#transaction_status(uuid) ⇒ Object
Return deposit transaction status
8 9 10 |
# File 'lib/bygpay/deposits.rb', line 8 def transaction_status(uuid) get_status(deposit_status_endpoint,uuid) end |