Class: Flutterwave::Bank

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code, name) ⇒ Bank

Returns a new instance of Bank.



41
42
43
44
# File 'lib/flutterwave/bank.rb', line 41

def initialize(code, name)
  @code = code
  @name = name
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



39
40
41
# File 'lib/flutterwave/bank.rb', line 39

def code
  @code
end

#nameObject

Returns the value of attribute name.



39
40
41
# File 'lib/flutterwave/bank.rb', line 39

def name
  @name
end