Exception: OMF::SFA::AM::Rest::RetryLaterException

Inherits:
Exception
  • Object
show all
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

Instance Method Summary collapse

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

#delayObject (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