Sha256: bf441dbe791a00c8c8779bf7c766e06350186312ddd093bef9072b5ba21be631

Contents?: true

Size: 687 Bytes

Versions: 84

Compression:

Stored size: 687 Bytes

Contents

module Fog
  module Compute
    class Ovirt
      class Real

        def update_interface(id, options)
          raise ArgumentError, "instance id is a required parameter" unless id
          raise ArgumentError, "interface id is a required parameter for update-interface" unless options.has_key? :id

          client.update_interface(id, options)
        end

      end

      class Mock
        def update_interface(id, options)
          raise ArgumentError, "instance id is a required parameter" unless id
          raise ArgumentError, "interface id is a required parameter for update-interface" unless options.has_key? :id
          true
        end

      end
    end
  end
end

Version data entries

84 entries across 84 versions & 14 rubygems

Version Path
fog-maestrodev-1.15.0.20130927082724 lib/fog/ovirt/requests/compute/update_interface.rb
fog-maestrodev-1.15.0.20130829165835 lib/fog/ovirt/requests/compute/update_interface.rb
fog-1.15.0 lib/fog/ovirt/requests/compute/update_interface.rb
gapinc-fog-1.14.0 lib/fog/ovirt/requests/compute/update_interface.rb
fog-maestrodev-1.14.0.20130806165225 lib/fog/ovirt/requests/compute/update_interface.rb
fog-1.14.0 lib/fog/ovirt/requests/compute/update_interface.rb
fog-1.13.0 lib/fog/ovirt/requests/compute/update_interface.rb
gapinc-fog-1.12.1.2 lib/fog/ovirt/requests/compute/update_interface.rb
gapinc-fog-1.12.1.1 lib/fog/ovirt/requests/compute/update_interface.rb
gapinc-fog-1.12.1a lib/fog/ovirt/requests/compute/update_interface.rb
gapinc-fog-1.12.1 lib/fog/ovirt/requests/compute/update_interface.rb
fog-1.12.1 lib/fog/ovirt/requests/compute/update_interface.rb
fog-1.12.0 lib/fog/ovirt/requests/compute/update_interface.rb
hpfog-0.0.20 lib/fog/ovirt/requests/compute/update_interface.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/lib/fog/ovirt/requests/compute/update_interface.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/lib/fog/ovirt/requests/compute/update_interface.rb
fog-nirvanix-1.8.2 lib/fog/ovirt/requests/compute/update_interface.rb
fog-1.11.1 lib/fog/ovirt/requests/compute/update_interface.rb
fog-1.11.0 lib/fog/ovirt/requests/compute/update_interface.rb
fog-nirvanix-1.8.1 lib/fog/ovirt/requests/compute/update_interface.rb