Exception: OpenID::DiscoveryFailure

Inherits:
OpenIDError
  • Object
show all
Defined in:
lib/openid/yadis/discovery.rb

Overview

Raised when a error occurs in the discovery process

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, http_response) ⇒ DiscoveryFailure

Returns a new instance of DiscoveryFailure.



13
14
15
16
17
# File 'lib/openid/yadis/discovery.rb', line 13

def initialize(message, http_response)
  super(message)
  @identity_url = nil
  @http_response = http_response
end

Instance Attribute Details

#http_responseObject

Returns the value of attribute http_response.



11
12
13
# File 'lib/openid/yadis/discovery.rb', line 11

def http_response
  @http_response
end

#identity_urlObject

Returns the value of attribute identity_url.



11
12
13
# File 'lib/openid/yadis/discovery.rb', line 11

def identity_url
  @identity_url
end