Class: Agris::Api::NewVoucher::GeneralLedgerDetail
- Inherits:
-
Object
- Object
- Agris::Api::NewVoucher::GeneralLedgerDetail
- Includes:
- XmlModel
- Defined in:
- lib/agris/api/new_voucher.rb
Constant Summary collapse
- ATTRIBUTE_NAMES =
%w( distribution_amount execution_id gl_account_main_code gl_account_detail_code gl_account_profit_center gl_loc_code record_type ).freeze
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ GeneralLedgerDetail
constructor
A new instance of GeneralLedgerDetail.
Methods included from XmlModel
Constructor Details
#initialize(hash = {}) ⇒ GeneralLedgerDetail
Returns a new instance of GeneralLedgerDetail.
77 78 79 80 81 |
# File 'lib/agris/api/new_voucher.rb', line 77 def initialize(hash = {}) super @record_type = 'ACPV2' end |