Exception: Dyn::Exceptions::IncompleteRequest
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Dyn::Exceptions::IncompleteRequest
- Defined in:
- lib/dyn/exceptions.rb
Overview
we need to handle API calls that return a status of ‘incomplete’ and return the job_id
Instance Attribute Summary collapse
-
#job_id ⇒ Object
readonly
Returns the value of attribute job_id.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message, job_id) ⇒ IncompleteRequest
constructor
A new instance of IncompleteRequest.
Constructor Details
#initialize(message, job_id) ⇒ IncompleteRequest
Returns a new instance of IncompleteRequest.
29 30 31 32 |
# File 'lib/dyn/exceptions.rb', line 29 def initialize( , job_id ) @message = @job_id = job_id end |
Instance Attribute Details
#job_id ⇒ Object (readonly)
Returns the value of attribute job_id.
27 28 29 |
# File 'lib/dyn/exceptions.rb', line 27 def job_id @job_id end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
27 28 29 |
# File 'lib/dyn/exceptions.rb', line 27 def @message end |