lib/omniauth/strategies/exvo.rb in omniauth-exvo-0.0.2 vs lib/omniauth/strategies/exvo.rb in omniauth-exvo-0.0.3

- old
+ new

@@ -1,16 +1,15 @@ require 'omniauth-oauth2' -require 'exvo_helpers' module OmniAuth module Strategies class Exvo < OmniAuth::Strategies::OAuth2 option :name, 'exvo' option :client_options, { - :site => ::Exvo::Helpers.auth_uri, - :token_url => ::Exvo::Helpers.auth_uri + '/oauth/access_token' + :site => 'https://auth.exvo.com', + :token_url => '/oauth/access_token' } def request_phase %w(scope state x_sign_up).each do |param| options[:authorize_params][param.to_sym] = request[param] if request[param]