Exception: BugherdClient::Errors::HttpRequestError
- Inherits:
-
StandardError
- Object
- StandardError
- BugherdClient::Errors::HttpRequestError
- Defined in:
- lib/bugherd_client/errors.rb
Instance Attribute Summary collapse
-
#http_code ⇒ Object
Returns the value of attribute http_code.
Instance Method Summary collapse
-
#initialize(message = '', code = 500) ⇒ HttpRequestError
constructor
A new instance of HttpRequestError.
Constructor Details
#initialize(message = '', code = 500) ⇒ HttpRequestError
Returns a new instance of HttpRequestError.
24 25 26 27 |
# File 'lib/bugherd_client/errors.rb', line 24 def initialize( = '', code = 500) super() @http_code = code end |
Instance Attribute Details
#http_code ⇒ Object
Returns the value of attribute http_code.
23 24 25 |
# File 'lib/bugherd_client/errors.rb', line 23 def http_code @http_code end |