Sha256: 1e13385416ceb7bfafbb46f856f10e315c80b9d2e1763786a60e3498faec5e12

Contents?: true

Size: 458 Bytes

Versions: 42

Compression:

Stored size: 458 Bytes

Contents

module FbGraph
  module Connections
    module Attending
      def attending(options = {})
        members = self.connection(:attending, options)
        members.map! do |member|
          User.new(member.delete(: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-1.8.0 lib/fb_graph/connections/attending.rb
fb_graph-1.8.0.alpha2 lib/fb_graph/connections/attending.rb
fb_graph-1.7.5 lib/fb_graph/connections/attending.rb
fb_graph-1.8.0.alpha lib/fb_graph/connections/attending.rb
fb_graph-1.7.4 lib/fb_graph/connections/attending.rb
fb_graph-1.7.3 lib/fb_graph/connections/attending.rb
fb_graph-1.7.2 lib/fb_graph/connections/attending.rb
fb_graph-1.7.1 lib/fb_graph/connections/attending.rb
fb_graph-1.7.0 lib/fb_graph/connections/attending.rb
fb_graph-1.7.0.alpha2 lib/fb_graph/connections/attending.rb
fb_graph-1.6.9 lib/fb_graph/connections/attending.rb
fb_graph-1.7.0.alpha lib/fb_graph/connections/attending.rb
fb_graph-1.6.8 lib/fb_graph/connections/attending.rb
fb_graph-1.6.7 lib/fb_graph/connections/attending.rb
fb_graph-1.6.5 lib/fb_graph/connections/attending.rb
fb_graph-1.6.4 lib/fb_graph/connections/attending.rb
fb_graph-1.6.3 lib/fb_graph/connections/attending.rb
fb_graph-1.6.2 lib/fb_graph/connections/attending.rb
fb_graph-1.6.1 lib/fb_graph/connections/attending.rb
fb_graph-1.6.0 lib/fb_graph/connections/attending.rb