Sha256: 2c0b1b937df131991985ae55314621002cb3c6917c953eff5876e5fd11cd761b

Contents?: true

Size: 322 Bytes

Versions: 51

Compression:

Stored size: 322 Bytes

Contents

module FbGraph
  module Connections
    module AdPreviews
      def ad_previews(options = {})
        ad_previews = self.post options.merge(:method => 'get', :connection => :generatepreviews)
        AdPreview.new ad_previews.merge(:access_token => options[:access_token] || self.access_token)
      end
    end
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
fb_graph-2.4.16 lib/fb_graph/connections/ad_previews.rb
fb_graph-2.4.15 lib/fb_graph/connections/ad_previews.rb
fb_graph-2.4.14 lib/fb_graph/connections/ad_previews.rb
fb_graph-2.4.13 lib/fb_graph/connections/ad_previews.rb
fb_graph-2.4.12 lib/fb_graph/connections/ad_previews.rb
fb_graph-2.4.11 lib/fb_graph/connections/ad_previews.rb
fb_graph-2.4.10 lib/fb_graph/connections/ad_previews.rb
fb_graph-2.4.9 lib/fb_graph/connections/ad_previews.rb
fb_graph-2.4.8 lib/fb_graph/connections/ad_previews.rb
fb_graph-2.4.7 lib/fb_graph/connections/ad_previews.rb
fb_graph-2.4.6 lib/fb_graph/connections/ad_previews.rb