lib/seatsio/usage_reports.rb in seatsio-26.2.0 vs lib/seatsio/usage_reports.rb in seatsio-27.0.0
- old
+ new
@@ -11,21 +11,21 @@
end
def summary_for_all_months
url = "reports/usage"
body = @http_client.get(url)
- Domain::UsageSummaryForAllMoths.new(body)
+ UsageSummaryForAllMoths.new(body)
end
def details_for_month(month)
url = "reports/usage/month/" + month.serialize
body = @http_client.get(url)
- body.map { |item| Domain::UsageDetails.new(item) }
+ body.map { |item| UsageDetails.new(item) }
end
def details_for_event_in_month(eventId, month)
url = "reports/usage/month/" + month.serialize + "/event/" + eventId.to_s
body = @http_client.get(url)
- body.map { |item| Domain::UsageForObject.new(item) }
+ body.map { |item| UsageForObject.new(item) }
end
end
end