Sha256: fc68d62d03adbbf917b0652222815063a56cf856598035e8702f410068c0bdae

Contents?: true

Size: 316 Bytes

Versions: 6

Compression:

Stored size: 316 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fb_graph-2.4.2 lib/fb_graph/connections/ad_previews.rb
fb_graph-2.4.1 lib/fb_graph/connections/ad_previews.rb
fb_graph-2.4.0 lib/fb_graph/connections/ad_previews.rb
fb_graph-2.3.2 lib/fb_graph/connections/ad_previews.rb
fb_graph-2.3.1 lib/fb_graph/connections/ad_previews.rb
fb_graph-2.3.0 lib/fb_graph/connections/ad_previews.rb