Sha256: d6b0ecd06e20ff0999de5093afbe887fa435d2eab8ae58a8c31ef0247ef8473a

Contents?: true

Size: 646 Bytes

Versions: 13

Compression:

Stored size: 646 Bytes

Contents

module Fog
  module Terremark
    module Shared
      module Real

        # Destroy an internet service
        #
        # ==== Parameters
        # * internet_service_id<~Integer> - Id of service to destroy
        #
        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

13 entries across 13 versions & 1 rubygems

Version Path
fog-0.1.3 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.1.2 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.1.1 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.1.0 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.100 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.99 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.98 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.97 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.96 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.95 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.94 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.93 lib/fog/terremark/requests/shared/delete_internet_service.rb
fog-0.0.92 lib/fog/terremark/requests/shared/delete_internet_service.rb