Sha256: 5d2f7e25404f97b66c29d9bdb473a5401423e70d4c05d1de0d3f0bebd385f780

Contents?: true

Size: 475 Bytes

Versions: 32

Compression:

Stored size: 475 Bytes

Contents

module Fog
  module Compute
    class Ecloud

      class Real
        basic_request :delete_node, 200, 'DELETE', {}, ""
      end

      class Mock

        def delete_node(node_uri)
          if node = mock_data.public_ip_internet_service_node_from_href(ensure_unparsed(node_uri))
            node._parent.items.delete(node)
            mock_it 200, '', {}
          else
            mock_error 200, "401 Unauthorized"
          end
        end
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 8 rubygems

Version Path
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/delete_node.rb
michiels-fog-1.3.1 lib/fog/ecloud/requests/compute/delete_node.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/ecloud/requests/compute/delete_node.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/delete_node.rb
fog-1.3.1 lib/fog/ecloud/requests/compute/delete_node.rb
fog-1.3.0 lib/fog/ecloud/requests/compute/delete_node.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/delete_node.rb
fog-1.2.0 lib/fog/ecloud/requests/compute/delete_node.rb
ktheory-fog-1.1.2 lib/fog/ecloud/requests/compute/delete_node.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/delete_node.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/delete_node.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/delete_node.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/delete_node.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/delete_node.rb
fog-1.1.2 lib/fog/ecloud/requests/compute/delete_node.rb
fog_tractical-1.1.4 lib/fog/ecloud/requests/compute/delete_node.rb
fog_tractical-1.1.3 lib/fog/ecloud/requests/compute/delete_node.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/delete_node.rb
fog-1.1.1 lib/fog/ecloud/requests/compute/delete_node.rb
fog-1.1.0 lib/fog/ecloud/requests/compute/delete_node.rb