Class: Ach
- Inherits:
-
Object
- Object
- Ach
- Defined in:
- lib/model/Ach.rb
Instance Attribute Summary (collapse)
-
- (Object) accountNumber
Returns the value of attribute accountNumber.
-
- (Object) accountType
Returns the value of attribute accountType.
-
- (Object) customerName
Returns the value of attribute customerName.
Instance Method Summary (collapse)
-
- (Ach) initialize(hash)
constructor
A new instance of Ach.
Constructor Details
- (Ach) initialize(hash)
Returns a new instance of Ach
6 7 8 9 10 |
# File 'lib/model/Ach.rb', line 6 def initialize(hash) @customerName = hash["CSTN"] @accountNumber = hash["ACN"] @accountType = hash["ACTYP"] end |
Instance Attribute Details
- (Object) accountNumber
Returns the value of attribute accountNumber
3 4 5 |
# File 'lib/model/Ach.rb', line 3 def accountNumber @accountNumber end |
- (Object) accountType
Returns the value of attribute accountType
4 5 6 |
# File 'lib/model/Ach.rb', line 4 def accountType @accountType end |
- (Object) customerName
Returns the value of attribute customerName
2 3 4 |
# File 'lib/model/Ach.rb', line 2 def customerName @customerName end |