Class: CITIBANK

Inherits:
SingaporeBankCode::BankAccount show all
Defined in:
lib/banks/citibank.rb

Instance Attribute Summary

Attributes inherited from SingaporeBankCode::BankAccount

#number

Instance Method Summary collapse

Methods inherited from SingaporeBankCode::BankAccount

#branch_code, #branch_name, decendants, #initialize, #min_length, #resolve!, #resolved_number

Constructor Details

This class inherits a constructor from SingaporeBankCode::BankAccount

Instance Method Details

#bank_codeObject



2
3
4
# File 'lib/banks/citibank.rb', line 2

def bank_code
  '7214'
end

#reference_hash_collectionObject



10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/banks/citibank.rb', line 10

def reference_hash_collection
  {
    '001' => 'Shenton Way - IB',
    '002' => 'Orchard Road - IB',
    '003' => 'Taman Jurong - IB',
    '011' => 'Shenton Way - CSG',
    '012' => 'Orchard Road - CSG',
    '013' => 'Taman Jurong - CSG',
    '015' => 'Esplanade',
    '017' => 'Cuscaden Road',
    '018' => 'Citibank Card Centre',
    '019' => 'Great World City',
    '020' => 'Parkway Parade',
    '021' => 'Paragon',
    '022' => 'Bishan',
    '023' => 'Marina Bay Sands',
    '024' => 'Vivo City',
    '025' => 'Holland Village',
    '026' => 'Ang Mo Kio',
    '027' => 'Tampines Plaza',
    '028' => 'SMRT',
    '029' => 'Serangoon',
    '031' => 'Private Bank',
    '032' => 'Asia Square',
    '033' => 'Woodlands',
  }
end

#swift_codeObject



6
7
8
# File 'lib/banks/citibank.rb', line 6

def swift_code
  'CITISGSGGCB'
end