Exception: PadlockAuth::Errors::ResponseError

Inherits:
PadlockAuthError show all
Defined in:
lib/padlock_auth/errors.rb

Overview

An error with a HTTP response.

Direct Known Subclasses

InvalidToken

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ ResponseError

Initialize a new response error.

Parameters:



16
17
18
# File 'lib/padlock_auth/errors.rb', line 16

def initialize(response)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



11
12
13
# File 'lib/padlock_auth/errors.rb', line 11

def response
  @response
end