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
11
# File 'lib/zengin_code/branch.rb', line 4

def initialize(bank, code, name, kana, hira, roma)
  @bank = bank
  @code = code
  @name = name
  @kana = kana
  @hira = hira
  @roma = roma
end

Instance Attribute Details

#bankObject (readonly)

Returns the value of attribute bank.



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

def bank
  @bank
end

#codeObject (readonly)

Returns the value of attribute code.



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

def code
  @code
end

#hiraObject (readonly)

Returns the value of attribute hira.



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

def hira
  @hira
end

#kanaObject (readonly)

Returns the value of attribute kana.



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

def kana
  @kana
end

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#romaObject (readonly)

Returns the value of attribute roma.



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

def roma
  @roma
end