dailycred 0.1.26 → 0.1.27
Sign up to get free protection for your applications and to get access to all the features.
- data/dailycred.gemspec +1 -1
- data/lib/omniauth/strategies/dailycred.rb +1 -1
- metadata +1 -1
data/dailycred.gemspec
CHANGED
@@ -56,7 +56,7 @@ module OmniAuth
|
|
56
56
|
# This is the phase where the gem calls me.json, which returns information about the user
|
57
57
|
def user
|
58
58
|
return @duser if !@duser.nil?
|
59
|
-
connection = Faraday::Connection.new options.client_options[:site], options.client_options[:ssl]
|
59
|
+
connection = Faraday::Connection.new options.client_options[:site], :ssl => options.client_options[:ssl]
|
60
60
|
response = connection.get("/graph/me.json?access_token=#{access_token.token}")
|
61
61
|
json = JSON.parse(response.body)
|
62
62
|
# pp json
|