Exception: LedgerSync::Error::OperationError::LedgerIDRequired

Inherits:
LedgerSync::Error::OperationError show all
Defined in:
lib/ledger_sync/error/operation_errors.rb

Instance Attribute Summary

Attributes inherited from LedgerSync::Error::OperationError

#operation, #response

Attributes inherited from LedgerSync::Error

#message

Instance Method Summary collapse

Constructor Details

#initialize(**keywords) ⇒ LedgerIDRequired

Returns a new instance of LedgerIDRequired.



19
20
21
22
23
24
25
# File 'lib/ledger_sync/error/operation_errors.rb', line 19

def initialize(**keywords)
  super(
    {
      message: 'Resource ledger_id is required.'
    }.merge(keywords)
  )
end