Module: Agris::Api::AccountsPayables::Vouchers
- Included in:
- Client
- Defined in:
- lib/agris/api/accounts_payables.rb
Instance Method Summary collapse
Instance Method Details
#create_voucher(voucher) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/agris/api/accounts_payables.rb', line 7 def create_voucher(voucher) response = @request.( Gyoku.xml(xml: context_hash), 82_320, create_post_payload_xml(convert_voucher_to_details(voucher)) ) PostResult.new(response) end |