Method: FbGraph::AdGroup#creatives

Defined in:
lib/fb_graph/ad_group.rb

#creatives(fetch = true) ⇒ Object



27
28
29
# File 'lib/fb_graph/ad_group.rb', line 27

def creatives(fetch = true)
  creative_ids.map { |creative_id| fetch ? AdCreative.fetch(creative_id) : AdCreative.new(creative_id) }
end