Method: FbGraph::Connections::AdGroups#ad_groups
- Defined in:
- lib/fb_graph/connections/ad_groups.rb
#ad_groups(options = {}) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/fb_graph/connections/ad_groups.rb', line 4 def ad_groups( = {}) ad_groups = self.connection :adgroups, ad_groups.map! do |ad_group| AdGroup.new ad_group[:id], ad_group.merge( :access_token => [:access_token] || self.access_token ) end end |