Module: FacebookOauthHelper

Defined in:
app/helpers/facebook_oauth_helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#current_facebook_access_tokenObject (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_clientObject (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_formObject



5
6
7
8
9
# File 'app/helpers/facebook_oauth_helper.rb', line 5

def 
  form_tag new_facebook_oauth_path, :method => 'get' do
    image_submit_tag 'facebook_connect.gif', :alt => 'Connect with Facebook'
  end
end