Class: Debit

Inherits:
Transaction show all
Defined in:
lib/ebutil.rb

Instance Method Summary collapse

Methods inherited from Transaction

#add_to, credit, debit, #export_to_eb, #initialize, #method_missing

Constructor Details

This class inherits a constructor from Transaction

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Transaction

Instance Method Details

#amountObject



168
169
170
# File 'lib/ebutil.rb', line 168

def amount
  Decimal.from_string(@attributes.amount)
end

#kindObject



165
166
167
# File 'lib/ebutil.rb', line 165

def kind
  'deb'
end