Sha256: 25333de0f94a17ce447442368eba911dcfef581e9f61c77868953cd55b75f73b

Contents?: true

Size: 367 Bytes

Versions: 68

Compression:

Stored size: 367 Bytes

Contents

module FbGraph
  module Connections
    module Interests
      def interests(options = {})
        interests = self.connection(:interests, options)
        interests.map! do |interest|
          Page.new(interest.delete(:id), interest.merge(
            :access_token => options[:access_token] || self.access_token
          ))
        end
      end
    end
  end
end

Version data entries

68 entries across 68 versions & 2 rubygems

Version Path
fb_graph-1.5.5 lib/fb_graph/connections/interests.rb
fb_graph-1.5.4 lib/fb_graph/connections/interests.rb
fb_graph-1.5.3 lib/fb_graph/connections/interests.rb
fb_graph-1.5.2 lib/fb_graph/connections/interests.rb
fb_graph-1.5.1 lib/fb_graph/connections/interests.rb
fb_graph-1.5.0 lib/fb_graph/connections/interests.rb
fb_graph-1.4.1 lib/fb_graph/connections/interests.rb
fb_graph-1.4.0 lib/fb_graph/connections/interests.rb
fb_graph-1.3.9 lib/fb_graph/connections/interests.rb
fb_graph-1.3.8 lib/fb_graph/connections/interests.rb
fb_graph-1.3.7 lib/fb_graph/connections/interests.rb
fb_graph-1.3.6 lib/fb_graph/connections/interests.rb
fb_graph-1.3.5 lib/fb_graph/connections/interests.rb
fb_graph-1.3.4 lib/fb_graph/connections/interests.rb
fb_graph-1.3.3 lib/fb_graph/connections/interests.rb
fb_graph-1.3.2 lib/fb_graph/connections/interests.rb
fb_graph-1.3.1 lib/fb_graph/connections/interests.rb
fb_graph-1.3.0 lib/fb_graph/connections/interests.rb
fb_graph-1.2.5 lib/fb_graph/connections/interests.rb
fb_graph-1.2.4 lib/fb_graph/connections/interests.rb