Sha256: d9c14918072a6c7e8c3a2d3e2530baddab32e806ac0ec4e56d16e5572583cd9d

Contents?: true

Size: 387 Bytes

Versions: 15

Compression:

Stored size: 387 Bytes

Contents

module Fog
  module Compute
    class Ovirt
      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

15 entries across 13 versions & 2 rubygems

Version Path
fog-ovirt-1.1.6 lib/fog/ovirt/requests/compute/v3/get_quota.rb
fog-ovirt-1.1.5 lib/fog/ovirt/requests/compute/v3/get_quota.rb
fog-ovirt-1.1.4 lib/fog/ovirt/requests/compute/v3/get_quota.rb
fog-ovirt-1.1.3 lib/fog/ovirt/requests/compute/v3/get_quota.rb
fog-ovirt-1.1.2 lib/fog/ovirt/requests/compute/v3/get_quota.rb
fog-ovirt-1.1.1 lib/fog/ovirt/requests/compute/v3/get_quota.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-ovirt-1.1.0/lib/fog/ovirt/requests/compute/v3/get_quota.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-ovirt-1.1.0/lib/fog/ovirt/requests/compute/v3/get_quota.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-ovirt-1.1.0/lib/fog/ovirt/requests/compute/v3/get_quota.rb
fog-ovirt-1.1.0 lib/fog/ovirt/requests/compute/v3/get_quota.rb
fog-ovirt-1.0.4 lib/fog/ovirt/requests/compute/v3/get_quota.rb
fog-ovirt-1.0.3 lib/fog/ovirt/requests/compute/v3/get_quota.rb
fog-ovirt-1.0.2 lib/fog/ovirt/requests/compute/v3/get_quota.rb
fog-ovirt-1.0.1 lib/fog/ovirt/requests/compute/v3/get_quota.rb
fog-ovirt-1.0.0 lib/fog/ovirt/requests/compute/v3/get_quota.rb