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.
-
#hira ⇒ Object
readonly
Returns the value of attribute hira.
-
#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, options = {}) ⇒ Branch
constructor
A new instance of Branch.
Constructor Details
#initialize(bank, options = {}) ⇒ Branch
Returns a new instance of Branch.
4 5 6 7 8 9 10 11 |
# File 'lib/zengin_code/branch.rb', line 4 def initialize(bank, = {}) @bank = bank @code = ['code'] @name = ['name'] @kana = ['kana'] @hira = ['hira'] @roma = ['roma'] end |
Instance Attribute Details
#bank ⇒ Object (readonly)
Returns the value of attribute bank.
12 13 14 |
# File 'lib/zengin_code/branch.rb', line 12 def bank @bank end |
#code ⇒ Object (readonly)
Returns the value of attribute code.
12 13 14 |
# File 'lib/zengin_code/branch.rb', line 12 def code @code end |
#hira ⇒ Object (readonly)
Returns the value of attribute hira.
12 13 14 |
# File 'lib/zengin_code/branch.rb', line 12 def hira @hira end |
#kana ⇒ Object (readonly)
Returns the value of attribute kana.
12 13 14 |
# File 'lib/zengin_code/branch.rb', line 12 def kana @kana end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
12 13 14 |
# File 'lib/zengin_code/branch.rb', line 12 def name @name end |
#roma ⇒ Object (readonly)
Returns the value of attribute roma.
12 13 14 |
# File 'lib/zengin_code/branch.rb', line 12 def roma @roma end |