Sha256: a97f67932ef3277220f0846eb1966be2720e75f5cc5241b98974c905e66e7585

Contents?: true

Size: 507 Bytes

Versions: 2

Compression:

Stored size: 507 Bytes

Contents

module Fog
  module Compute
    module Terremark
      module Real
        # Destroy a node
        #
        # ==== Parameters
        # * node_service_id<~Integer> - Id of node to destroy
        #
        def delete_node_service(node_service_id)
          request(
              :expects  => 200,
              :method   => 'DELETE',
              :path     => "api/extensions/v1.6/nodeService/#{node_service_id}",
              :override_path => true
          )
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-terremark-0.0.2 lib/fog/compute/terremark/requests/delete_node_service.rb
fog-terremark-0.0.1 lib/fog/compute/terremark/requests/delete_node_service.rb