Exception: OMF::SFA::AM::Rest::RetryLaterException
- Inherits:
-
Exception
- Object
- Exception
- OMF::SFA::AM::Rest::RetryLaterException
- Defined in:
- lib/omf-sfa/am/am-rest/rest_handler.rb
Overview
Raised when a request triggers an async call whose result we need before answering the request
Instance Attribute Summary collapse
-
#delay ⇒ Object
readonly
Returns the value of attribute delay.
Instance Method Summary collapse
-
#initialize(delay = 10) ⇒ RetryLaterException
constructor
A new instance of RetryLaterException.
Constructor Details
#initialize(delay = 10) ⇒ RetryLaterException
Returns a new instance of RetryLaterException.
142 143 144 |
# File 'lib/omf-sfa/am/am-rest/rest_handler.rb', line 142 def initialize(delay = 10) @delay = delay end |
Instance Attribute Details
#delay ⇒ Object (readonly)
Returns the value of attribute delay.
140 141 142 |
# File 'lib/omf-sfa/am/am-rest/rest_handler.rb', line 140 def delay @delay end |