lib/chronicle/foursquare/authorizer.rb in chronicle-foursquare-0.1.1 vs lib/chronicle/foursquare/authorizer.rb in chronicle-foursquare-0.2.0
- old
+ new
@@ -3,15 +3,15 @@
module Chronicle
module Foursquare
class Authorizer < Chronicle::ETL::OauthAuthorizer
provider :foursquare
omniauth_strategy :foursquare
- pluck_secrets({
- access_token: [:credentials, :token],
+ pluck_secrets({
+ access_token: %i[credentials token],
uid: [:uid],
- first_name: [:info, :first_name],
- last_name: [:info, :last_name],
- email: [:info, :email],
+ first_name: %i[info first_name],
+ last_name: %i[info last_name],
+ email: %i[info email]
})
end
end
end