Class: Collmex::Api::AccdocGet

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



305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
# File 'lib/collmex/api.rb', line 305

def self.specification
    [
      { name: :identifyer       , type: :string    , fix: "ACCDOC_GET"     },
      { name: :company_id       , type: :integer   , default: 1             },
      { name: :business_year    , type: :integer                            },
      { name: :id               , type: :integer                            },
      { name: :account_id       , type: :integer                            },
      { name: :cost_unit        , type: :integer                            },
      { name: :customer_id      , type: :integer                            },
      { name: :provider_id      , type: :integer                            },
      { name: :asset_id         , type: :integer                            },
      { name: :invoice_id       , type: :integer                            },
      { name: :jorney_id        , type: :integer                            },
      { name: :text             , type: :string                             },
      { name: :date_start       , type: :date                               },
      { name: :date_end         , type: :date                               },
      { name: :cancellattion    , type: :integer                            },
      { name: :changed_only     , type: :integer                            },
      { name: :system_name      , type: :string                             },
    ]
end