Class: Ibanizator::Bank

Inherits:
Object
  • Object
show all
Includes:
Adamantium
Defined in:
lib/ibanizator/bank.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_codeObject (readonly)

Returns the value of attribute bank_code.



9
10
11
# File 'lib/ibanizator/bank.rb', line 9

def bank_code
  @bank_code
end

#bicObject (readonly)

Returns the value of attribute bic.



9
10
11
# File 'lib/ibanizator/bank.rb', line 9

def bic
  @bic
end

#nameObject (readonly)

Returns the value of attribute name.



9
10
11
# File 'lib/ibanizator/bank.rb', line 9

def name
  @name
end