Sha256: fbc5f18914c3a789b5113c0d5599234208db5058a07f06453577b12ec44773c1

Contents?: true

Size: 310 Bytes

Versions: 13

Compression:

Stored size: 310 Bytes

Contents

module FbGraph
  module Connections
    module Interests
      def interests(options = {})
        interests = FbGraph::Collection.new(get(options.merge(:connection => 'interests')))
        interests.map! do |interest|
          Page.new(interest.delete(:id), interest)
        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/interests.rb
fb_graph-0.2.1 lib/fb_graph/connections/interests.rb
fb_graph-0.2.0 lib/fb_graph/connections/interests.rb
fb_graph-0.1.3 lib/fb_graph/connections/interests.rb
fb_graph-0.1.2 lib/fb_graph/connections/interests.rb
fb_graph-0.1.1 lib/fb_graph/connections/interests.rb
fb_graph-0.1.0 lib/fb_graph/connections/interests.rb
fb_graph-0.0.8 lib/fb_graph/connections/interests.rb
fb_graph-0.0.7 lib/fb_graph/connections/interests.rb
fb_graph-0.0.6 lib/fb_graph/connections/interests.rb
fb_graph-0.0.5 lib/fb_graph/connections/interests.rb
fb_graph-0.0.4 lib/fb_graph/connections/interests.rb
fb_graph-0.0.3 lib/fb_graph/connections/interests.rb