Sha256: 7334e9dd42b9bcaa5fe79ce37d3f7863efd3bfcafd741b295638d02b7a340710

Contents?: true

Size: 1.03 KB

Versions: 14

Compression:

Stored size: 1.03 KB

Contents

module Fog
  module Terremark
    module Shared
      module Real

        # Destroy an internet service
        #
        # ==== Parameters
        # * internet_service_id<~Integer> - Id of service to destroy
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:

        # FIXME

        #     * 'CatalogItems'<~Array>
        #       * 'href'<~String> - linke to item
        #       * 'name'<~String> - name of item
        #       * 'type'<~String> - type of item
        #     * 'description'<~String> - Description of catalog
        #     * 'name'<~String> - Name of catalog
        def delete_internet_service(internet_service_id)
          request(
            :expects  => 200,
            :method   => 'DELETE',
            :path     => "InternetServices/#{internet_service_id}"
          )
        end

      end

      module Mock

        def delete_internet_service(internet_service_id)
          raise MockNotImplemented.new("Contributions welcome!")
        end

      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fog-0.0.91 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.90 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.89 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.88 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.87 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.86 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.85 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.84 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.83 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.82 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.81 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.80 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.79 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.78 lib/fog/terremark/requests/shared/delete_internet_service.rb