class DDcloud::API::Report
Public Instance Methods
auditlog(start_date, end_date)
click to toggle source
# File lib/ddcloud/api/report.rb, line 3 def auditlog(start_date, end_date) start = start_date.strftime("%Y-%m-%d") stop = end_date.strftime("%Y-%m-%d") org_endpoint "/auditlog?startDate=#{start}&endDate=#{stop}" get_simple end
detailed_usage(start_date, end_date)
click to toggle source
# File lib/ddcloud/api/report.rb, line 17 def detailed_usage(start_date, end_date) start = start_date.strftime("%Y-%m-%d") stop = end_date.strftime("%Y-%m-%d") org_endpoint "/report/usageDetailed?startDate=#{start}&endDate=#{stop}" get_simple end
summary_usage(start_date, end_date)
click to toggle source
# File lib/ddcloud/api/report.rb, line 10 def summary_usage(start_date, end_date) start = start_date.strftime("%Y-%m-%d") stop = end_date.strftime("%Y-%m-%d") org_endpoint "/report/usage?startDate=#{start}&endDate=#{stop}" get_simple end