Module: KoalaRails::Helpers
- Defined in:
- lib/koala-rails/helpers.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#facebook_session ⇒ Object
:nodoc:.
-
#facebook_session_key ⇒ Object
:nodoc:.
-
#facebook_token ⇒ Object
:nodoc:.
-
#facebook_uid ⇒ Object
:nodoc:.
Instance Method Details
#facebook_session ⇒ Object
:nodoc:
4 5 6 |
# File 'lib/koala-rails/helpers.rb', line 4 def facebook_session # :nodoc: @facebook_session ||= Koala::Facebook::OAuth.new.() end |
#facebook_session_key ⇒ Object
: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_token ⇒ Object
: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_uid ⇒ Object
:nodoc:
12 13 14 |
# File 'lib/koala-rails/helpers.rb', line 12 def facebook_uid # :nodoc: @facebook_uid ||= facebook_session['uid'] end |