Sha256: 59bd5f2f77afe9b1b2cce6e8b00d0a48d4e098486707f171f7bd4984c5ef25a9

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

require 'chronicle/etl/oauth_authorizer'

module Chronicle
  module Foursquare
    class Authorizer < Chronicle::ETL::OauthAuthorizer
      provider :foursquare
      omniauth_strategy :foursquare
      pluck_secrets({
        access_token: %i[credentials token],
        uid: [:uid],
        first_name: %i[info first_name],
        last_name: %i[info last_name],
        email: %i[info email]
      })
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chronicle-foursquare-0.2.0 lib/chronicle/foursquare/authorizer.rb