class DSP::API::AdsStatus

Public Class Methods

download(*dsp_order_id_info) click to toggle source

date format YYYY-MM-DD

# File lib/dsp/api/ads_status.rb, line 8
def download(*dsp_order_id_info)
  body = {dsp_order_id_info: dsp_order_id_info.to_s}.merge(DSP::AUTH)
  req = HTTParty.post(@@target_url, body: body).body
  JSON.parse(req)
end