Sha256: 49698386a3b58c5aa94764c24f9f4f65474e70fc3fddd62d3e4e0cf994980acd

Contents?: true

Size: 387 Bytes

Versions: 6

Compression:

Stored size: 387 Bytes

Contents

module Fog
  module Ovirt
    class Compute
      class V3
        class Real
          def get_quota(id)
            ovirt_attrs client.quota(id)
          end
        end
        class Mock
          def get_quota(_id)
            xml = read_xml("quota.xml")
            ovirt_attrs OVIRT::Quota.new(self, Nokogiri::XML(xml).root)
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fog-ovirt-1.2.5 lib/fog/ovirt/requests/compute/v3/get_quota.rb
fog-ovirt-1.2.4 lib/fog/ovirt/requests/compute/v3/get_quota.rb
fog-ovirt-1.2.3 lib/fog/ovirt/requests/compute/v3/get_quota.rb
fog-ovirt-1.2.2 lib/fog/ovirt/requests/compute/v3/get_quota.rb
fog-ovirt-1.2.1 lib/fog/ovirt/requests/compute/v3/get_quota.rb
fog-ovirt-1.2.0 lib/fog/ovirt/requests/compute/v3/get_quota.rb