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.2.3 lib/fb_graph/connections/interests.rb
fb_graph-1.2.2 lib/fb_graph/connections/interests.rb
fb_graph-1.2.1 lib/fb_graph/connections/interests.rb
fb_graph-1.2.0 lib/fb_graph/connections/interests.rb
fb_graph-1.1.7 lib/fb_graph/connections/interests.rb
fb_graph-1.1.6 lib/fb_graph/connections/interests.rb
fb_graph-1.1.5 lib/fb_graph/connections/interests.rb
fb_graph-1.1.4 lib/fb_graph/connections/interests.rb
fb_graph-1.1.3 lib/fb_graph/connections/interests.rb
fb_graph-1.1.2 lib/fb_graph/connections/interests.rb
fb_graph-1.1.1 lib/fb_graph/connections/interests.rb
fb_graph-1.1.0 lib/fb_graph/connections/interests.rb
fb_graph-1.0.7 lib/fb_graph/connections/interests.rb
fb_graph-1.0.6 lib/fb_graph/connections/interests.rb
fb_graph-1.0.5 lib/fb_graph/connections/interests.rb
palidanx-fb_graph-1.0.4 lib/fb_graph/connections/interests.rb
fb_graph-1.0.4 lib/fb_graph/connections/interests.rb
fb_graph-1.0.3 lib/fb_graph/connections/interests.rb
fb_graph-1.0.2 lib/fb_graph/connections/interests.rb
fb_graph-1.0.1 lib/fb_graph/connections/interests.rb