def app_authorization_url
      params = {
        response_type: "code",
        client_id: token_store.client_id,
        redirect_uri: redirect_uri,
        scope: scopes,
        state: state,
      }

      url = {
        host: gamewisp_url,
        path: authorize_path,
        query: URI.encode_www_form(params)
      }

      return URI::HTTPS.build(url)
    end
def app_authorization_url
      params = {
        response_type: "code",
        client_id: token_store.client_id,
        redirect_uri: redirect_uri,
        scope: scopes,
        state: state,
      }

      url = {
        host: gamewisp_url,
        path: authorize_path,
        query: URI.encode_www_form(params)
      }

      return URI::HTTPS.build(url)
    end
Only works if this class is derived (includes) HTTParty

if ENV["DEBUG"]
  debug_output $stdout
end