Exception: Uber::RestClientExceptionWrapper

Inherits:
ClientError
  • Object
show all
Defined in:
lib/simple_worker/uber_client.rb

Instance Method Summary collapse

Constructor Details

#initialize(ex) ⇒ RestClientExceptionWrapper

Returns a new instance of RestClientExceptionWrapper.



43
44
45
46
# File 'lib/simple_worker/uber_client.rb', line 43

def initialize(ex)
  super(ex.message)
  @ex = ex
end