Method: FacebookAds::APIRequest#to_batch_params
- Defined in:
- lib/facebook_ads/api_request.rb
#to_batch_params ⇒ Object
79 80 81 82 83 84 85 86 87 88 |
# File 'lib/facebook_ads/api_request.rb', line 79 def to_batch_params { name: batch_name, method: method.to_s.upcase, relative_url: path, body: batch_body, omit_response_on_success: false, attached_files: files.empty? ? nil : files.keys.join(','), }.compact end |