lib/fb_graph/ad_group.rb
# We override update to handle the "redownload" parameter
# If redownload is specified, the FbGraph::AdGroup object will be updated with the data returned from Facebook.
We override update to handle the "redownload" parameter
If redownload is specified, the FbGraph::AdGroup object will be updated with the data returned from Facebook.
We override update to handle the " redownload " parameter If redownload is specified the FbGraph :: AdGroup object will be updated with the data returned from Facebook .
def update(options)
      response = super(options)
      if options[:redownload]
        attributes = options.merge(response[:data][:adgroups][identifier]).with_indifferent_access
        set_attrs(attributes)
      end
      response
    end
def update ( options ) response = super ( options ) if options [ :redownload ] attributes = options . merge ( response [ :data ] [ :adgroups ] [ identifier ] ) . with_indifferent_access set_attrs ( attributes ) end response end
We override update to handle the "redownload" parameter
If redownload is specified, the FbGraph::AdGroup object will be updated with the data returned from Facebook.
We override update to handle the " redownload " parameter If redownload is specified the FbGraph :: AdGroup object will be updated with the data returned from Facebook .
options
<not_specific>