Class: LedgerSync::QuickBooksOnline::Util::ErrorParser
- Inherits:
-
Object
- Object
- LedgerSync::QuickBooksOnline::Util::ErrorParser
- Defined in:
- lib/ledger_sync/quickbooks_online/util/error_parser.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
- #error_class ⇒ Object
-
#initialize(error:) ⇒ ErrorParser
constructor
A new instance of ErrorParser.
- #parse ⇒ Object
Constructor Details
#initialize(error:) ⇒ ErrorParser
Returns a new instance of ErrorParser.
11 12 13 |
# File 'lib/ledger_sync/quickbooks_online/util/error_parser.rb', line 11 def initialize(error:) @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
9 10 11 |
# File 'lib/ledger_sync/quickbooks_online/util/error_parser.rb', line 9 def error @error end |
Instance Method Details
#error_class ⇒ Object
15 16 17 |
# File 'lib/ledger_sync/quickbooks_online/util/error_parser.rb', line 15 def error_class raise NotImplementedError end |
#parse ⇒ Object
19 20 21 |
# File 'lib/ledger_sync/quickbooks_online/util/error_parser.rb', line 19 def parse raise NotImplementedError end |