Class: OpenID::AX::AXMessage

Inherits:
Extension show all
Defined in:
lib/openid/extensions/ax.rb

Overview

Abstract class containing common code for attribute exchange messages

Direct Known Subclasses

FetchRequest, KeyValueMessage, StoreResponse

Constant Summary collapse

NS_URI =
'http://openid.net/srv/ax/1.0'

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Extension

#get_extension_args, #to_message

Constructor Details

#initializeAXMessage

Returns a new instance of AXMessage.



30
31
32
33
34
# File 'lib/openid/extensions/ax.rb', line 30

def initialize
  @ns_alias = 'ax'
  @ns_uri = NS_URI
  @mode = nil
end

Instance Attribute Details

#modeObject

Returns the value of attribute mode.



27
28
29
# File 'lib/openid/extensions/ax.rb', line 27

def mode
  @mode
end

#ns_aliasObject

Returns the value of attribute ns_alias.



27
28
29
# File 'lib/openid/extensions/ax.rb', line 27

def ns_alias
  @ns_alias
end

#ns_uriObject

Returns the value of attribute ns_uri.



27
28
29
# File 'lib/openid/extensions/ax.rb', line 27

def ns_uri
  @ns_uri
end