Module: KoalaRails::Helpers

Defined in:
lib/koala-rails/helpers.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#facebook_sessionObject

:nodoc:



4
5
6
# File 'lib/koala-rails/helpers.rb', line 4

def facebook_session # :nodoc:
  @facebook_session ||= Koala::Facebook::OAuth.new.(cookies)
end

#facebook_session_keyObject

:nodoc:



16
17
18
# File 'lib/koala-rails/helpers.rb', line 16

def facebook_session_key # :nodoc:
  @facebook_session_key ||= facebook_session['session_key']
end

#facebook_tokenObject

:nodoc:



8
9
10
# File 'lib/koala-rails/helpers.rb', line 8

def facebook_token # :nodoc:
  @facebook_access_token ||= facebook_session['access_token']
end

#facebook_uidObject

:nodoc:



12
13
14
# File 'lib/koala-rails/helpers.rb', line 12

def facebook_uid # :nodoc:
  @facebook_uid ||= facebook_session['uid']
end