Contains the result of performing Yadis discovery on a URI
# File lib/openid/yadis/discovery.rb, line 40 def initialize(request_uri) # Initialize the state of the object # # sets all attributes to None except the request_uri @request_uri = request_uri @normalized_uri = nil @xrds_uri = nil @content_type = nil @response_text = nil end
Is the response text supposed to be an XRDS document?
# File lib/openid/yadis/discovery.rb, line 57 def is_xrds return (used_yadis_location?() or @content_type == YADIS_CONTENT_TYPE) end
Was the Yadis protocol's indirection used?
# File lib/openid/yadis/discovery.rb, line 52 def used_yadis_location? return @normalized_uri != @xrds_uri end
Generated with the Darkfish Rdoc Generator 2.