Parent

Methods

FlexiScale::DebitItem

Public Instance Methods

to_handy_hash() click to toggle source
# File lib/api/Flexiscale APIAddons.rb, line 178
def to_handy_hash
  ::FlexiScale::attrs_to_hash( self, :debit_id, :item_type, :type_id, :item_value, :item_cost, 
                                     :description ).merge(
    :fxs_id    => self.debit_item_id,
    :timestamp => Time.at(self.timestamp.to_i)
  )
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.