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.



1534
1535
1536
1537
# File 'lib/openid/server.rb', line 1534

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.



1532
1533
1534
# File 'lib/openid/server.rb', line 1532

def return_to
  @return_to
end