Class: Ibanizator::Bank
- Inherits:
-
Object
- Object
- Ibanizator::Bank
- Includes:
- Adamantium
- Defined in:
- lib/ibanizator/bank.rb
Instance Attribute Summary collapse
-
#bank_code ⇒ Object
readonly
Returns the value of attribute bank_code.
-
#bic ⇒ Object
readonly
Returns the value of attribute bic.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(bic, name, bank_code) ⇒ Bank
constructor
A new instance of Bank.
Constructor Details
#initialize(bic, name, bank_code) ⇒ Bank
Returns a new instance of Bank.
11 12 13 |
# File 'lib/ibanizator/bank.rb', line 11 def initialize(bic, name, bank_code) @bic, @name, @bank_code = bic, name, bank_code end |
Instance Attribute Details
#bank_code ⇒ Object (readonly)
Returns the value of attribute bank_code.
9 10 11 |
# File 'lib/ibanizator/bank.rb', line 9 def bank_code @bank_code end |
#bic ⇒ Object (readonly)
Returns the value of attribute bic.
9 10 11 |
# File 'lib/ibanizator/bank.rb', line 9 def bic @bic end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
9 10 11 |
# File 'lib/ibanizator/bank.rb', line 9 def name @name end |