Method: Callrail::Api#get_calls_summary

Defined in:
lib/callrail.rb

#get_calls_summary(opts = {}) ⇒ Object



198
199
200
201
# File 'lib/callrail.rb', line 198

def get_calls_summary( opts={} )
  opts[:path] =  (opts[:time_series] == true) ? "/" + @account_id + "/calls/timeseries.json" : "/" + @account_id + "/calls/summary.json" 
  return get_responses(opts)
end