Exception: OpenID::Server::MalformedReturnURL

Inherits:
ProtocolError
  • Object
show all
Defined in:
lib/openid/server.rb

Overview

The return_to URL doesn’t look like a valid URL.

Instance Attribute Summary collapse

Attributes inherited from ProtocolError

#contact, #openid_message, #reference

Instance Method Summary collapse

Methods inherited from ProtocolError

#encode_to_kvform, #encode_to_url, #get_return_to, #has_return_to, #to_form_markup, #to_html, #to_message, #which_encoding

Constructor Details

#initialize(openid_message, return_to) ⇒ MalformedReturnURL

Returns a new instance of MalformedReturnURL.



1561
1562
1563
1564
# File 'lib/openid/server.rb', line 1561

def initialize(openid_message, return_to)
  @return_to = return_to
  super(openid_message)
end

Instance Attribute Details

#return_toObject (readonly)

Returns the value of attribute return_to.



1559
1560
1561
# File 'lib/openid/server.rb', line 1559

def return_to
  @return_to
end