Module: Devise::Models::FacebookOpenGraphAuthenticatable::ClassMethods

Defined in:
lib/devise_facebook_open_graph/model.rb

Instance Method Summary collapse

Instance Method Details

#authenticate_facebook_user(facebook_uid) ⇒ Object



25
26
27
# File 'lib/devise_facebook_open_graph/model.rb', line 25

def authenticate_facebook_user(facebook_uid)
  send("find_by_" + facebook_uid_field.to_s, facebook_uid)
end

#facebook_auto_create_account?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/devise_facebook_open_graph/model.rb', line 21

def facebook_auto_create_account?
  !!
end