Sha256: cc37a0dc0717fbea71af89e79f9f5496c3a66b47e305d7f7f534d6cd36315ac9
Contents?: true
Size: 457 Bytes
Versions: 25
Compression:
Stored size: 457 Bytes
Contents
require 'fog/openstack/models/model' module Fog module Compute class OpenStack class Tenant < Fog::OpenStack::Model identity :id attribute :description attribute :enabled attribute :name def to_s name end def usage(start_date, end_date) requires :id service.get_usage(id, start_date, end_date).body['tenant_usage'] end end end end end
Version data entries
25 entries across 23 versions & 3 rubygems