def add_ax(resp, data)
      ax_resp = OpenID::AX::FetchResponse.new
      ax_args = data.reverse_merge('mode' => 'fetch_response')
      ax_resp.parse_extension_args(ax_args)
      resp.add_extension(ax_resp)
      resp
    end
def add_ax(resp, data)
      ax_resp = OpenID::AX::FetchResponse.new
      ax_args = data.reverse_merge('mode' => 'fetch_response')
      ax_resp.parse_extension_args(ax_args)
      resp.add_extension(ax_resp)
      resp
    end
Adds Attribute Exchange data (Hash) to an OpenID response. See:
 http://rakuto.blogspot.com/2008/03/ruby-fetch-and-store-some-attributes.html