Sha256: 2ee01f524f82d85eb205be17969ce29d0446fa861b0a18a012f3db34db9a1a79

Contents?: true

Size: 447 Bytes

Versions: 16

Compression:

Stored size: 447 Bytes

Contents

module FbGraph
  module Connections
    module AdConnectionObjects
      def connection_objects(options = {})
        connection_objects = self.connection(:connectionobjects, options)
        connection_objects.map! do |connection_object|
          AdConnectionObject.new(connection_object[:id], connection_object.merge(
            :access_token => options[:access_token] || self.access_token
          ))
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
fb_graph-2.2.6 lib/fb_graph/connections/ad_connection_objects.rb
fb_graph-2.2.5 lib/fb_graph/connections/ad_connection_objects.rb
fb_graph-2.2.4 lib/fb_graph/connections/ad_connection_objects.rb
fb_graph-2.2.3 lib/fb_graph/connections/ad_connection_objects.rb
fb_graph-2.2.2 lib/fb_graph/connections/ad_connection_objects.rb
fb_graph-2.2.1 lib/fb_graph/connections/ad_connection_objects.rb
fb_graph-2.2.0 lib/fb_graph/connections/ad_connection_objects.rb
fb_graph-2.2.0.beta lib/fb_graph/connections/ad_connection_objects.rb
fb_graph-2.2.0.alpha2 lib/fb_graph/connections/ad_connection_objects.rb
fb_graph-2.2.0.alpha lib/fb_graph/connections/ad_connection_objects.rb
fb_graph-2.1.13 lib/fb_graph/connections/ad_connection_objects.rb
fb_graph-2.1.12 lib/fb_graph/connections/ad_connection_objects.rb
fb_graph-2.1.11 lib/fb_graph/connections/ad_connection_objects.rb
fb_graph-2.1.10 lib/fb_graph/connections/ad_connection_objects.rb
fb_graph-2.1.9 lib/fb_graph/connections/ad_connection_objects.rb
fb_graph-2.1.8 lib/fb_graph/connections/ad_connection_objects.rb