Class: Flutterwave::Client
- Inherits:
-
Object
- Object
- Flutterwave::Client
- Defined in:
- lib/flutterwave/client.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#ach ⇒ Object
Returns the value of attribute ach.
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#bank ⇒ Object
Returns the value of attribute bank.
-
#bin ⇒ Object
Returns the value of attribute bin.
-
#bvn ⇒ Object
Returns the value of attribute bvn.
-
#card ⇒ Object
Returns the value of attribute card.
-
#ip ⇒ Object
Returns the value of attribute ip.
-
#merchant_key ⇒ Object
Returns the value of attribute merchant_key.
-
#pay ⇒ Object
Returns the value of attribute pay.
Instance Method Summary collapse
-
#initialize(merchant_key, api_key) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(merchant_key, api_key) ⇒ Client
Returns a new instance of Client.
17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/flutterwave/client.rb', line 17 def initialize(merchant_key, api_key) @merchant_key = merchant_key @api_key = api_key @bvn = Flutterwave::BVN.new(self) @bin = Flutterwave::BIN.new(self) @ip = Flutterwave::IP.new(self) @bank = Flutterwave::BankAPI.new(self) @card = Flutterwave::Card.new(self) @account = Flutterwave::Account.new(self) @ach = Flutterwave::ACH.new(self) @pay = Flutterwave::Pay.new(self) end |
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
14 15 16 |
# File 'lib/flutterwave/client.rb', line 14 def account @account end |
#ach ⇒ Object
Returns the value of attribute ach.
14 15 16 |
# File 'lib/flutterwave/client.rb', line 14 def ach @ach end |
#api_key ⇒ Object
Returns the value of attribute api_key.
14 15 16 |
# File 'lib/flutterwave/client.rb', line 14 def api_key @api_key end |
#bank ⇒ Object
Returns the value of attribute bank.
14 15 16 |
# File 'lib/flutterwave/client.rb', line 14 def bank @bank end |
#bin ⇒ Object
Returns the value of attribute bin.
14 15 16 |
# File 'lib/flutterwave/client.rb', line 14 def bin @bin end |
#bvn ⇒ Object
Returns the value of attribute bvn.
14 15 16 |
# File 'lib/flutterwave/client.rb', line 14 def bvn @bvn end |
#card ⇒ Object
Returns the value of attribute card.
14 15 16 |
# File 'lib/flutterwave/client.rb', line 14 def card @card end |
#ip ⇒ Object
Returns the value of attribute ip.
14 15 16 |
# File 'lib/flutterwave/client.rb', line 14 def ip @ip end |
#merchant_key ⇒ Object
Returns the value of attribute merchant_key.
14 15 16 |
# File 'lib/flutterwave/client.rb', line 14 def merchant_key @merchant_key end |
#pay ⇒ Object
Returns the value of attribute pay.
14 15 16 |
# File 'lib/flutterwave/client.rb', line 14 def pay @pay end |