Extension
Abstract class containing common code for attribute exchange messages
Raise an exception if the mode in the attribute exchange arguments does not match what is expected for this class.
# File lib/openid/extensions/ax.rb, line 47 def check_mode(ax_args) actual_mode = ax_args ? ax_args['mode'] : nil if actual_mode != @mode raise Error, "Expected mode #{mode.inspect}, got #{actual_mode.inspect}" end end
Generated with the Darkfish Rdoc Generator 2.