Class: Elmas::BankEntryLine

Inherits:
BaseEntryLine show all
Includes:
Resource
Defined in:
lib/elmas/resources/bank_entry_line.rb

Instance Attribute Summary

Attributes included from Resource

#attributes, #response, #url

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, #basic_identifier_uri, #query_attribute, #sanitize_value, #uri

Methods inherited from BaseEntryLine

#mandatory_attributes

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Elmas::Resource

Instance Method Details

#base_pathObject



6
7
8
# File 'lib/elmas/resources/bank_entry_line.rb', line 6

def base_path
  "financialtransaction/BankEntryLines"
end

#other_attributesObject



10
11
12
13
14
15
16
# File 'lib/elmas/resources/bank_entry_line.rb', line 10

def other_attributes
  [
    :account, :amount_VATFC, :asset, :cost_center, :cost_unit, :date,
    :description, :notes, :document, :exchange_rate, :our_ref,
    :project, :quantity, :VAT_code, :VAT_percentage, :VAT_type
  ]
end