Sha256: f9296e878ddc103581685bc0d525a7082dccaaa79d133c47bfcea49dd3f36273

Contents?: true

Size: 287 Bytes

Versions: 4

Compression:

Stored size: 287 Bytes

Contents

module FbGraph
  module Connections
    module Events
      def events(options = {})
        events = FbGraph::Collection.new(get(options.merge(:connection => 'events')))
        events.map! do |event|
          Event.new(event.delete(:id), event)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fb_graph-0.0.6 lib/fb_graph/connections/events.rb
fb_graph-0.0.5 lib/fb_graph/connections/events.rb
fb_graph-0.0.4 lib/fb_graph/connections/events.rb
fb_graph-0.0.3 lib/fb_graph/connections/events.rb