lib/omniauth/strategies/yahoo.rb in omniauth-yahoo-0.0.3 vs lib/omniauth/strategies/yahoo.rb in omniauth-yahoo-0.0.4
- old
+ new
@@ -37,12 +37,12 @@
}
}
end
extra do
- {
- :raw_info => raw_info
- }
+ hash = {}
+ hash[:raw_info] = raw_info unless skip_info?
+ hash
end
# Return info gathered from the v1/user/:id/profile API call
def raw_info