Sha256: 10db486815dd051b70bfd67cf67dc756c141adc41b29c6dca9edcfc1677ae4f1

Contents?: true

Size: 372 Bytes

Versions: 23

Compression:

Stored size: 372 Bytes

Contents

module Fog
  module Rackspace
    class NetworkingV2
      class Real
        def update_port(port)
          data = {:port => {:name => port.name}}

          request(
            :method  => 'PUT',
            :body    => Fog::JSON.encode(data),
            :path    => "ports/#{port.id}",
            :expects => 200
          )
        end
      end
    end
  end
end

Version data entries

23 entries across 21 versions & 4 rubygems

Version Path
fog-rackspace-0.1.6 lib/fog/rackspace/requests/networking_v2/update_port.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-rackspace-0.1.5/lib/fog/rackspace/requests/networking_v2/update_port.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-rackspace-0.1.5/lib/fog/rackspace/requests/networking_v2/update_port.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-rackspace-0.1.5/lib/fog/rackspace/requests/networking_v2/update_port.rb
fog-rackspace-0.1.5 lib/fog/rackspace/requests/networking_v2/update_port.rb
fog-rackspace-0.1.4 lib/fog/rackspace/requests/networking_v2/update_port.rb
fog-rackspace-0.1.3 lib/fog/rackspace/requests/networking_v2/update_port.rb
fog-rackspace-0.1.2 lib/fog/rackspace/requests/networking_v2/update_port.rb
fog-rackspace-0.1.1 lib/fog/rackspace/requests/networking_v2/update_port.rb
fog-rackspace-0.1.0 lib/fog/rackspace/requests/networking_v2/update_port.rb
fog-1.37.0 lib/fog/rackspace/requests/networking_v2/update_port.rb
fog-1.36.0 lib/fog/rackspace/requests/networking_v2/update_port.rb
fog-1.35.0 lib/fog/rackspace/requests/networking_v2/update_port.rb
fog-2.0.0.pre.0 lib/fog/rackspace/requests/networking_v2/update_port.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/lib/fog/rackspace/requests/networking_v2/update_port.rb
fog-1.34.0 lib/fog/rackspace/requests/networking_v2/update_port.rb
fog-1.33.0 lib/fog/rackspace/requests/networking_v2/update_port.rb
fog-1.32.0 lib/fog/rackspace/requests/networking_v2/update_port.rb
fog-1.31.0 lib/fog/rackspace/requests/networking_v2/update_port.rb
fog-1.30.0 lib/fog/rackspace/requests/networking_v2/update_port.rb