lib/omniauth/strategies/line.rb in omniauth-ljne-0.1.3 vs lib/omniauth/strategies/line.rb in omniauth-ljne-0.1.4
- old
+ new
@@ -44,9 +44,10 @@
{
name: raw_info['displayName'],
email: raw_info['email'],
image: raw_info['pictureUrl'],
description: raw_info['statusMessage']
+ info: raw_info
}
end
def raw_info
@raw_info ||= JSON.load(access_token.get('v2/profile').body)