Sha256: 36b3a478a0ebb655403ffe5120f01c73426be7db68a1db0e8926fd2fabf967f9
Contents?: true
Size: 353 Bytes
Versions: 8
Compression:
Stored size: 353 Bytes
Contents
module Yao::Resources module ServerUsageAssociationable # @param opt [Hash] # @return [Hash] def server_usage(params = {}) path = "./os-simple-tenant-usage/#{id}" client = Yao.default_client.pool['compute'] res = client.get(path, params, {"Accept" => "application/json"}) res.body["tenant_usage"] end end end
Version data entries
8 entries across 8 versions & 1 rubygems