Class: OpenID::AX::StoreRequest

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

Overview

A store request attribute exchange message representation

Constant Summary

Constants inherited from AXMessage

AXMessage::NS_URI

Instance Attribute Summary

Attributes inherited from KeyValueMessage

#data

Attributes inherited from AXMessage

#mode, #ns_alias, #ns_uri

Instance Method Summary collapse

Methods inherited from KeyValueMessage

#[], #_get_extension_kv_args, #add_value, #count, #get, #get_single, #parse_extension_args, #set_values

Methods inherited from Extension

#to_message

Constructor Details

#initializeStoreRequest

Returns a new instance of StoreRequest.



470
471
472
473
# File 'lib/openid/extensions/ax.rb', line 470

def initialize
  super
  @mode = 'store_request'
end

Instance Method Details

#get_extension_args(aliases = nil) ⇒ Object



475
476
477
478
479
480
# File 'lib/openid/extensions/ax.rb', line 475

def get_extension_args(aliases=nil)
  ax_args = new_args
  kv_args = _get_extension_kv_args(aliases)
  ax_args.update(kv_args)
  return ax_args
end