Sha256: 77e9e9df673e9c7279d2f7c96445bc1445477533976a091e3227a64407be727e

Contents?: true

Size: 337 Bytes

Versions: 42

Compression:

Stored size: 337 Bytes

Contents

module FbGraph
  module Connections
    module Groups
      def groups(options = {})
        groups = self.connection(:groups, options)
        groups.map! do |group|
          Group.new(group[:id], group.merge(
            :access_token => options[:access_token] || self.access_token
          ))
        end
      end
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
fb_graph-1.8.2 lib/fb_graph/connections/groups.rb
fb_graph-1.8.1 lib/fb_graph/connections/groups.rb