Sha256: 1e7828597653588723f4ba0b0a97a738225fba6ce90a65c0d03b8cc596cab500

Contents?: true

Size: 287 Bytes

Versions: 13

Compression:

Stored size: 287 Bytes

Contents

module FbGraph
  module Connections
    module Groups
      def groups(options = {})
        groups = FbGraph::Collection.new(get(options.merge(:connection => 'groups')))
        groups.map! do |group|
          Group.new(group.delete(:id), group)
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fb_graph-0.2.2 lib/fb_graph/connections/groups.rb
fb_graph-0.2.1 lib/fb_graph/connections/groups.rb
fb_graph-0.2.0 lib/fb_graph/connections/groups.rb
fb_graph-0.1.3 lib/fb_graph/connections/groups.rb
fb_graph-0.1.2 lib/fb_graph/connections/groups.rb
fb_graph-0.1.1 lib/fb_graph/connections/groups.rb
fb_graph-0.1.0 lib/fb_graph/connections/groups.rb
fb_graph-0.0.8 lib/fb_graph/connections/groups.rb
fb_graph-0.0.7 lib/fb_graph/connections/groups.rb
fb_graph-0.0.6 lib/fb_graph/connections/groups.rb
fb_graph-0.0.5 lib/fb_graph/connections/groups.rb
fb_graph-0.0.4 lib/fb_graph/connections/groups.rb
fb_graph-0.0.3 lib/fb_graph/connections/groups.rb