Module: FbGraph::Connections::Events
Instance Method Summary collapse
Instance Method Details
#events(options = {}) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/fb_graph/connections/events.rb', line 4 def events( = {}) events = FbGraph::Collection.new(get(.merge(:connection => 'events'))) events.map! do |event| Event.new(event.delete(:id), event) end end |