Class Facebooker::Event::Attendance
In: lib/facebooker/models/event.rb
Parent: Object

The relationship between a Facebook user and an Event to which he or she has been invited and may or may not be attending (based on rsvp_status)

Methods

event  

Included Modules

Model

Attributes

eid  [RW] 
rsvp_status  [RW] 
uid  [RW] 

Public Instance methods

Get the full, populated Event object which this Attendance is associated with. First access will query the Facebook API (facebook.events.get). Subsequent calls are retrieved from in-memory cache.

[Source]

# File lib/facebooker/models/event.rb, line 16
      def event
        @event ||= Event.from_hash(session.post('facebook.events.get', :eids => [eid]).first)
      end

[Validate]