Module: AuthlogicFacebookShim::Session::Facebook
- Defined in:
- lib/authlogic_facebook_shim/session/facebook.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/authlogic_facebook_shim/session/facebook.rb', line 6 def self.included(klass) klass.class_eval do attr_accessor :skip_facebook_authentication validate :validate_by_facebook, :if => :authenticating_with_facebook? end end |
Instance Method Details
#logged_in_with_facebook? ⇒ Boolean
15 16 17 |
# File 'lib/authlogic_facebook_shim/session/facebook.rb', line 15 def logged_in_with_facebook? @logged_in_with_facebook end |