Class: Unico::BankAccount

Inherits:
Model
  • Object
show all
Extended by:
EnumerateIt
Defined in:
app/models/unico/bank_account.rb

Direct Known Subclasses

BankAccount

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bank=(value) ⇒ Object (writeonly)

Sets the attribute bank

Parameters:

  • value

    the value to set the attribute bank to.



7
8
9
# File 'app/models/unico/bank_account.rb', line 7

def bank=(value)
  @bank = value
end

#bank_id=(value) ⇒ Object (writeonly)

Sets the attribute bank_id

Parameters:

  • value

    the value to set the attribute bank_id to.



7
8
9
# File 'app/models/unico/bank_account.rb', line 7

def bank_id=(value)
  @bank_id = value
end

Instance Method Details

#to_sObject



28
29
30
# File 'app/models/unico/bank_account.rb', line 28

def to_s
  description
end