Class: Elmas::BaseEntryLine
- Inherits:
-
Object
- Object
- Elmas::BaseEntryLine
- Includes:
- Resource
- Defined in:
- lib/elmas/resources/base_entry_line.rb
Direct Known Subclasses
BankEntryLine, CashEntryLine, GeneralJournalEntryLine, PurchaseEntryLine, SalesEntryLine
Instance Attribute Summary
Attributes included from Resource
Instance Method Summary collapse
Methods included from Resource
#delete, #find, #find_all, #find_by, #get, #id, #id?, #initialize, #method_missing, #save, #valid?
Methods included from Resource::Sanitizer
#sanitize, #sanitize_date_time, #sanitize_has_many, #sanitize_relationship
Methods included from Resource::UriMethods
#apply_filters, #apply_order, #apply_select, #base_filter, #base_path, #basic_identifier_uri, #query_attribute, #sanitize_value, #uri
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Elmas::Resource
Instance Method Details
#mandatory_attributes ⇒ Object
7 8 9 |
# File 'lib/elmas/resources/base_entry_line.rb', line 7 def mandatory_attributes %i[amount_FC GL_account entry_ID] end |
#other_attributes ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/elmas/resources/base_entry_line.rb', line 11 def other_attributes %i[ serial_number asset cost_center cost_unit description notes project quantity serial_number subscription tracking_number VAT_amount_FC VAT_base_amount_DC VAT_base_amount_FC VAT_code VAT_percentage account date ] end |