Class: ClientFinancialTransaction

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/client_financial_transaction.rb

Instance Method Summary collapse

Instance Method Details

#amountObject



8
9
10
# File 'app/models/client_financial_transaction.rb', line 8

def amount
  Money.new read_attribute(:amount_in_cents).to_i
end

#readonly?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'app/models/client_financial_transaction.rb', line 12

def readonly?
  true
end