Class: ZenginCode::Branch

Inherits:
Object
  • Object
show all
Defined in:
lib/zengin_code/branch.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bankObject (readonly)

Returns the value of attribute bank.



11
12
13
# File 'lib/zengin_code/branch.rb', line 11

def bank
  @bank
end

#codeObject (readonly)

Returns the value of attribute code.



11
12
13
# File 'lib/zengin_code/branch.rb', line 11

def code
  @code
end

#kanaObject (readonly)

Returns the value of attribute kana.



11
12
13
# File 'lib/zengin_code/branch.rb', line 11

def kana
  @kana
end

#nameObject (readonly)

Returns the value of attribute name.



11
12
13
# File 'lib/zengin_code/branch.rb', line 11

def name
  @name
end

#romaObject (readonly)

Returns the value of attribute roma.



11
12
13
# File 'lib/zengin_code/branch.rb', line 11

def roma
  @roma
end