Sha256: 0f12e0bbf59acd7a364affd443824b7fff6150593d003e3596bb5ddfd1f5c05d
Contents?: true
Size: 888 Bytes
Versions: 3
Compression:
Stored size: 888 Bytes
Contents
require 'foyer/version' require 'foyer/engine' require 'foyer/rails' module Foyer # Class variables are required for the implementation of this class. # rubocop:disable Style/ClassVars mattr_accessor :identity_provider @@identity_provider = :gaggleamp mattr_accessor :session_key @@session_key = 'foyer.authenticated_user' mattr_accessor :user_finder @@user_finder = ->(_) { fail 'Override this method' } mattr_accessor :token_finder @@token_finder = ->(_) { fail 'Override this method' } # rubocop:enable Style/ClassVars module Controller autoload :Helpers, 'foyer/controller/helpers' end module API autoload :Helpers, 'foyer/api/helpers' end module Grape autoload :Helpers, 'foyer/grape/helpers' end autoload :OmniauthCallbacksController, 'foyer/omniauth_callbacks_controller' autoload :TestHelpers, 'foyer/test_helpers' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
foyer-0.5.0 | lib/foyer.rb |
foyer-0.4.0 | lib/foyer.rb |
foyer-0.3.1 | lib/foyer.rb |