Exception: Latitude::Metadata::RequestError
- Defined in:
- lib/latitude/metadata/errors.rb
Instance Attribute Summary collapse
-
#http_body ⇒ Object
readonly
Returns the value of attribute http_body.
-
#http_status ⇒ Object
readonly
Returns the value of attribute http_status.
Instance Method Summary collapse
-
#initialize(message = nil, http_status: nil, http_body: nil) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(message = nil, http_status: nil, http_body: nil) ⇒ RequestError
Returns a new instance of RequestError.
11 12 13 14 15 |
# File 'lib/latitude/metadata/errors.rb', line 11 def initialize( = nil, http_status: nil, http_body: nil) super() @http_status = http_status @http_body = http_body end |
Instance Attribute Details
#http_body ⇒ Object (readonly)
Returns the value of attribute http_body.
9 10 11 |
# File 'lib/latitude/metadata/errors.rb', line 9 def http_body @http_body end |
#http_status ⇒ Object (readonly)
Returns the value of attribute http_status.
9 10 11 |
# File 'lib/latitude/metadata/errors.rb', line 9 def http_status @http_status end |