Sha256: b6d08021b078c9150f7ad971613071cd4c03db918acadbc7b78e3a4a14e2c9cc

Contents?: true

Size: 451 Bytes

Versions: 42

Compression:

Stored size: 451 Bytes

Contents

module FbGraph
  module Connections
    module Attending
      def attending(options = {})
        members = self.connection(:attending, options)
        members.map! do |member|
          User.new(member[:id], member.merge(
            :access_token => options[:access_token] || self.access_token
          ))
        end
      end

      def attending!(options = {})
        post(options.merge(:connection => :attending))
      end
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
fb_graph-2.1.3 lib/fb_graph/connections/attending.rb
fb_graph-2.1.2 lib/fb_graph/connections/attending.rb
fb_graph-2.1.1 lib/fb_graph/connections/attending.rb
fb_graph-2.1.0 lib/fb_graph/connections/attending.rb
fb_graph-2.1.0.alpha lib/fb_graph/connections/attending.rb
fb_graph-2.0.2 lib/fb_graph/connections/attending.rb
fb_graph-2.0.1 lib/fb_graph/connections/attending.rb
fb_graph-2.0.0 lib/fb_graph/connections/attending.rb
fb_graph-2.0.0.beta lib/fb_graph/connections/attending.rb
fb_graph-2.0.0.alpha lib/fb_graph/connections/attending.rb
fb_graph-1.9.5 lib/fb_graph/connections/attending.rb
fb_graph-1.9.4 lib/fb_graph/connections/attending.rb
fb_graph-1.9.3 lib/fb_graph/connections/attending.rb
fb_graph-1.9.2 lib/fb_graph/connections/attending.rb
fb_graph-1.9.1 lib/fb_graph/connections/attending.rb
fb_graph-1.9.0 lib/fb_graph/connections/attending.rb
fb_graph-1.8.6 lib/fb_graph/connections/attending.rb
fb_graph-1.8.5 lib/fb_graph/connections/attending.rb
fb_graph-1.8.4 lib/fb_graph/connections/attending.rb
fb_graph-1.8.3 lib/fb_graph/connections/attending.rb