Sha256: 145cfd157fa39cd460b0edc49c42c1f392bc1723bbea3f44c2de862f169ff4a3
Contents?: true
Size: 594 Bytes
Versions: 55
Compression:
Stored size: 594 Bytes
Contents
module Fog module Volume class OpenStack class Real def get_quota_defaults(tenant_id) request( :expects => 200, :method => 'GET', :path => "/os-quota-sets/#{tenant_id}/defaults" ) end end class Mock def get_quota_defaults(tenant_id) response = Excon::Response.new response.status = 200 response.body = { 'quota_set' => self.data[:quota].merge({'id' => tenant_id}) } response end end end end end
Version data entries
55 entries across 55 versions & 3 rubygems