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.0.0 lib/fb_graph/connections/interests.rb
fb_graph-0.8.0 lib/fb_graph/connections/interests.rb
fb_graph-0.7.3 lib/fb_graph/connections/interests.rb
fb_graph-0.7.2 lib/fb_graph/connections/interests.rb
fb_graph-0.7.1 lib/fb_graph/connections/interests.rb
fb_graph-0.7.0 lib/fb_graph/connections/interests.rb
fb_graph-0.6.0 lib/fb_graph/connections/interests.rb
fb_graph-0.5.0 lib/fb_graph/connections/interests.rb