Class: AccountType2
- Inherits:
-
Object
- Object
- AccountType2
- Defined in:
- lib/model/AccountType2.rb
Instance Attribute Summary (collapse)
-
- (Object) creditCard
Returns the value of attribute creditCard.
Instance Method Summary (collapse)
-
- (AccountType2) initialize(hash)
constructor
A new instance of AccountType2.
Constructor Details
- (AccountType2) initialize(hash)
Returns a new instance of AccountType2
6 7 8 9 10 |
# File 'lib/model/AccountType2.rb', line 6 def initialize(hash) unless hash["CC"].nil? @creditCard = CreditCard.new(hash["CC"]) end end |
Instance Attribute Details
- (Object) creditCard
Returns the value of attribute creditCard
4 5 6 |
# File 'lib/model/AccountType2.rb', line 4 def creditCard @creditCard end |