class Facebooker::Event::Attendance

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)

Attributes

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

Public Instance Methods

event() click to toggle source

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.

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