Class: Quickbooks::Transaction
- Defined in:
- lib/quickbooks/models/transaction.rb
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
#==, all, connection, connection=, create, #destroy, establish_connection, first, #initialize, #inspect, instantiate, #new_record?, #reload, request, request_and_instantiate, #save, #success?
Methods inherited from Model
#==, #===, #attributes, #attributes=, camelized_valid_filters, #dirty?, #dirty_attributes, filter_aliases, filter_aliases=, #initialize, #original_values, properties, read_only, read_write, #to_dirty_hash, #to_hash, valid_filters, valid_filters=
Constructor Details
This class inherits a constructor from Quickbooks::Base
Class Method Details
.inherited(klass) ⇒ Object
5 6 7 8 |
# File 'lib/quickbooks/models/transaction.rb', line 5 def self.inherited(klass) super klass.read_only :txn_id, :full_name, :edit_sequence, :time_created, :time_modified end |
.ListOrTxn ⇒ Object
33 34 35 |
# File 'lib/quickbooks/models/transaction.rb', line 33 def ListOrTxn 'Txn' end |