Sha256: 4b4e1c5c4771646e56d97e5f8bc900f10962d065e69c7cde85e7ab8c30833c18
Contents?: true
Size: 626 Bytes
Versions: 20
Compression:
Stored size: 626 Bytes
Contents
module Fog module OpenStack class SharedFileSystem class Real def get_quota(project_id) request( :expects => 200, :method => 'GET', :path => "#{action_prefix}quota-sets/#{project_id}" ) end end class Mock def get_quota(project_id) response = Excon::Response.new response.status = 200 quota_data = data[:quota_updated] || data[:quota] quota_data['id'] = project_id response.body = {'quota_set' => quota_data} response end end end end end
Version data entries
20 entries across 20 versions & 3 rubygems