class Subledger::Domain::Credit
Public Class Methods
type()
click to toggle source
# File lib/subledger/domain/value/credit.rb, line 7 def self.type 'credit' end
Public Instance Methods
rest_hash()
click to toggle source
# File lib/subledger/domain/value/credit.rb, line 11 def rest_hash { 'type' => 'credit', 'amount' => amount_to_s(@amount) } end