Module: FacebookOauthHelper
- Defined in:
- app/helpers/facebook_oauth_helper.rb
Instance Attribute Summary collapse
-
#current_facebook_access_token ⇒ Object
readonly
Returns the value of attribute current_facebook_access_token.
-
#facebook_client ⇒ Object
readonly
Returns the value of attribute facebook_client.
Instance Method Summary collapse
Instance Attribute Details
#current_facebook_access_token ⇒ Object (readonly)
Returns the value of attribute current_facebook_access_token.
3 4 5 |
# File 'app/helpers/facebook_oauth_helper.rb', line 3 def current_facebook_access_token @current_facebook_access_token end |
#facebook_client ⇒ Object (readonly)
Returns the value of attribute facebook_client.
2 3 4 |
# File 'app/helpers/facebook_oauth_helper.rb', line 2 def facebook_client @facebook_client end |
Instance Method Details
#facebook_login_form ⇒ Object
5 6 7 8 9 |
# File 'app/helpers/facebook_oauth_helper.rb', line 5 def facebook_login_form form_tag new_facebook_oauth_path, :method => 'get' do image_submit_tag 'facebook_connect.gif', :alt => 'Connect with Facebook' end end |