class FlexiScale::Debit
Public Instance Methods
to_handy_hash()
click to toggle source
# File lib/api/Flexiscale APIAddons.rb, line 188 def to_handy_hash ::FlexiScale::attrs_to_hash( self, :creation_time, :item_count, :item_cost ).merge( :fxs_id => :debit_id, :creation_time => Time.at(self.creation_time.to_i) ) end