Exception: YogaPants::Client::HTTPRequestError

Inherits:
RequestError
  • Object
show all
Defined in:
lib/yoga_pants/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, http_error) ⇒ HTTPRequestError

Returns a new instance of HTTPRequestError.



113
114
115
116
# File 'lib/yoga_pants/client.rb', line 113

def initialize(message, http_error)
  super(message)
  @http_error = http_error
end

Instance Attribute Details

#http_errorObject (readonly)

Returns the value of attribute http_error.



111
112
113
# File 'lib/yoga_pants/client.rb', line 111

def http_error
  @http_error
end