Class: Ledger::Sdk::Models::ImportLine::Instance
- Inherits:
-
Base::Instance
- Object
- Base::Instance
- Ledger::Sdk::Models::ImportLine::Instance
- Defined in:
- lib/ledger/sdk/models/import_line.rb
Overview
Represents an individual import line: what Ledger made of one line of a
batch, and why it failed. The detail view carries line_index,
line_type, error_type, error_details, original_data and status.
Instance Method Summary collapse
-
#retry ⇒ Hash
Replays this line alone, without resubmitting the whole import.
Methods inherited from Base::Instance
association, #data, #initialize
Constructor Details
This class inherits a constructor from Ledger::Sdk::Models::Base::Instance
Instance Method Details
#retry ⇒ Hash
Replays this line alone, without resubmitting the whole import.
Only a failed line can be replayed; Ledger answers a 422
line_not_failure for any other status.