Exception: Garage::AuthBackendError
- Defined in:
- lib/garage/exceptions.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Attributes inherited from HTTPError
Instance Method Summary collapse
-
#initialize(response) ⇒ AuthBackendError
constructor
A new instance of AuthBackendError.
Methods inherited from HTTPError
Constructor Details
#initialize(response) ⇒ AuthBackendError
Returns a new instance of AuthBackendError.
43 44 45 46 47 |
# File 'lib/garage/exceptions.rb', line 43 def initialize(response) @status = :internal_server_error @response = response super("Auth backend responded error: status=#{response.status_code}") end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
41 42 43 |
# File 'lib/garage/exceptions.rb', line 41 def response @response end |