Class: Collmex::Api::AccbalGet

Inherits:
Line
  • Object
show all
Defined in:
lib/collmex/api.rb

Class Method Summary collapse

Methods inherited from Line

default_hash, hashify, #initialize, #to_a, #to_csv, #to_h, #to_stringified_array

Constructor Details

This class inherits a constructor from Collmex::Api::Line

Class Method Details

.specificationObject



476
477
478
479
480
481
482
483
484
485
# File 'lib/collmex/api.rb', line 476

def self.specification
  [
    {name: :identifyer,     type: :string, fix: "ACCBAL_GET"},
    {name: :company_id,     type: :integer, default: 1},
    {name: :fiscal_year,    type: :integer, default: Date.today.year},
    {name: :date_to,        type: :date},
    {name: :account_number, type: :integer},
    {name: :account_group,  type: :integer}
  ]
end