# File lib/openid/extensions/ax.rb, line 40 def check_mode(ax_args) actual_mode = ax_args['mode'] if actual_mode != @mode raise Error, "Expected mode #{mode.inspect}, got #{actual_mode.inspect}" end end