Module: FbGraph::Connections::AdPreviews
- Included in:
- AdAccount
- Defined in:
- lib/fb_graph/connections/ad_previews.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) ad_previews(options = {})
4 5 6 7 |
# File 'lib/fb_graph/connections/ad_previews.rb', line 4 def ad_previews( = {}) ad_previews = self.post .merge(:method => 'get', :connection => :generatepreviews) AdPreview.new ad_previews.merge(:access_token => [:access_token] || self.access_token) end |