def oauth_url url, method
      oauth = WooCommerce::OAuth.new(
        url,
        method,
        @version,
        @consumer_key,
        @consumer_secret,
        @signature_method
      )
      oauth.get_oauth_url
    end
def oauth_url url, method
      oauth = WooCommerce::OAuth.new(
        url,
        method,
        @version,
        @consumer_key,
        @consumer_secret,
        @signature_method
      )
      oauth.get_oauth_url
    end
Internal: Generates an oauth url given current settings

 url    - A String naming the current request url
 method - The HTTP verb of the request

 Returns a url to be used for the query.