Class: ZenginCode::Branch
- Inherits:
-
Object
- Object
- ZenginCode::Branch
- Defined in:
- lib/zengin_code/branch.rb
Instance Attribute Summary collapse
-
#bank ⇒ Object
readonly
Returns the value of attribute bank.
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#kana ⇒ Object
readonly
Returns the value of attribute kana.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#roma ⇒ Object
readonly
Returns the value of attribute roma.
Instance Method Summary collapse
-
#initialize(bank, code, name, kana, hira, roma) ⇒ Branch
constructor
A new instance of Branch.
Constructor Details
#initialize(bank, code, name, kana, hira, roma) ⇒ Branch
Returns a new instance of Branch.
4 5 6 7 8 9 10 |
# File 'lib/zengin_code/branch.rb', line 4 def initialize(bank, code, name, kana, hira, roma) @bank = bank @code = code @name = name @kana = kana @roma = roma end |
Instance Attribute Details
#bank ⇒ Object (readonly)
Returns the value of attribute bank.
11 12 13 |
# File 'lib/zengin_code/branch.rb', line 11 def bank @bank end |
#code ⇒ Object (readonly)
Returns the value of attribute code.
11 12 13 |
# File 'lib/zengin_code/branch.rb', line 11 def code @code end |
#kana ⇒ Object (readonly)
Returns the value of attribute kana.
11 12 13 |
# File 'lib/zengin_code/branch.rb', line 11 def kana @kana end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
11 12 13 |
# File 'lib/zengin_code/branch.rb', line 11 def name @name end |
#roma ⇒ Object (readonly)
Returns the value of attribute roma.
11 12 13 |
# File 'lib/zengin_code/branch.rb', line 11 def roma @roma end |