Exception: SimpleWorker::RequestError
- Inherits:
-
StandardError
- Object
- StandardError
- SimpleWorker::RequestError
- Defined in:
- lib/simple_worker/api.rb
Instance Method Summary collapse
-
#initialize(msg, options = {}) ⇒ RequestError
constructor
A new instance of RequestError.
- #status ⇒ Object
Constructor Details
#initialize(msg, options = {}) ⇒ RequestError
Returns a new instance of RequestError.
7 8 9 10 |
# File 'lib/simple_worker/api.rb', line 7 def initialize(msg, ={}) super(msg) @options = end |
Instance Method Details
#status ⇒ Object
12 13 14 |
# File 'lib/simple_worker/api.rb', line 12 def status @options[:status] end |