Exception: Framey::Api::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Framey::Api::Error
- Defined in:
- lib/api.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#http_headers ⇒ Object
readonly
Returns the value of attribute http_headers.
Instance Method Summary collapse
-
#initialize(message, http_headers = {}) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, http_headers = {}) ⇒ Error
Returns a new instance of Error.
69 70 71 72 |
# File 'lib/api.rb', line 69 def initialize(, http_headers={}) @http_headers = Hash[http_headers] super end |
Instance Attribute Details
#http_headers ⇒ Object (readonly)
Returns the value of attribute http_headers.
67 68 69 |
# File 'lib/api.rb', line 67 def http_headers @http_headers end |