def get_token(params, access_token_opts={})
      params = params.merge(:parse => :json)
      access_token_opts = access_token_opts.merge({:header_format => "OAuth2 %s", :param_name => "access_token"})
      
      @token = super(params, access_token_opts)
    end
def get_token(params, access_token_opts={})
      params = params.merge(:parse => :json)
      access_token_opts = access_token_opts.merge({:header_format => "OAuth2 %s", :param_name => "access_token"})
      
      @token = super(params, access_token_opts)
    end
Initializes an AccessToken by making a request to the token endpoint

 @param [Hash] params a Hash of params for the token endpoint
 @param [Hash] access token options, to pass to the AccessToken object
 @return [AccessToken] the initalized AccessToken