Method: Fog::OpenStack::Compute::Tenant#usage

Defined in:
lib/fog/openstack/compute/models/tenant.rb

#usage(start_date, end_date) ⇒ Object



17
18
19
20
# File 'lib/fog/openstack/compute/models/tenant.rb', line 17

def usage(start_date, end_date)
  requires :id
  service.get_usage(id, start_date, end_date).body['tenant_usage']
end