Sha256: 39a4b97fbb4fbf0c7da82bb97ae51799899da0d9731a6b470cb75c216b17a7cb

Contents?: true

Size: 676 Bytes

Versions: 18

Compression:

Stored size: 676 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.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.key? :id
          true
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 4 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/ovirt/requests/compute/update_interface.rb
fog-1.28.0 lib/fog/ovirt/requests/compute/update_interface.rb
fog-1.27.0 lib/fog/ovirt/requests/compute/update_interface.rb
fog-1.26.0 lib/fog/ovirt/requests/compute/update_interface.rb
fog-1.25.0 lib/fog/ovirt/requests/compute/update_interface.rb
nsidc-fog-1.24.1 lib/fog/ovirt/requests/compute/update_interface.rb
fog-1.24.0 lib/fog/ovirt/requests/compute/update_interface.rb
ns-fog-1.22.11 lib/fog/ovirt/requests/compute/update_interface.rb
ns-fog-1.22.10 lib/fog/ovirt/requests/compute/update_interface.rb
ns-fog-1.22.9 lib/fog/ovirt/requests/compute/update_interface.rb
ns-fog-1.22.8 lib/fog/ovirt/requests/compute/update_interface.rb
ns-fog-1.22.7 lib/fog/ovirt/requests/compute/update_interface.rb
ns-fog-1.22.6 lib/fog/ovirt/requests/compute/update_interface.rb
fog-1.23.0 lib/fog/ovirt/requests/compute/update_interface.rb
ns-fog-1.22.4 lib/fog/ovirt/requests/compute/update_interface.rb
ns-fog-1.22.3 lib/fog/ovirt/requests/compute/update_interface.rb
ns-fog-1.22.2 lib/fog/ovirt/requests/compute/update_interface.rb
fog-1.22.1 lib/fog/ovirt/requests/compute/update_interface.rb