Module: Laposta::Client::Reports

Included in:
Laposta::Client
Defined in:
lib/laposta/client/reports.rb

Instance Method Summary collapse

Instance Method Details

#get_report(campaign_id) ⇒ Object

Parameters Name Type Description


campaign_id string (mandatory) The ID of a campaign




13
14
15
# File 'lib/laposta/client/reports.rb', line 13

def get_report(campaign_id)
  get("report/#{campaign_id}")
end

#reports(params = {}) ⇒ Object



4
5
6
# File 'lib/laposta/client/reports.rb', line 4

def reports(params = {})
  list("report", params)
end