Sha256: bb37e08611e7f34f6b428fb3f3cff6190cd84c0f7816def7c9c58bc532668521

Contents?: true

Size: 546 Bytes

Versions: 13

Compression:

Stored size: 546 Bytes

Contents

module Fog
  module Terremark
    module Shared
      module Real

        # Destroy a vapp
        #
        # ==== Parameters
        # * vapp_id<~Integer> - Id of vapp to destroy
        #
        def delete_vapp(vapp_id)
          request(
            :expects  => 202,
            :method   => 'DELETE',
            :path     => "vApp/#{vapp_id}"
          )
        end

      end

      module Mock

        def delete_vapp(vapp_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_vapp.rb
fog-0.1.2 lib/fog/terremark/requests/shared/delete_vapp.rb
fog-0.1.1 lib/fog/terremark/requests/shared/delete_vapp.rb
fog-0.1.0 lib/fog/terremark/requests/shared/delete_vapp.rb
fog-0.0.100 lib/fog/terremark/requests/shared/delete_vapp.rb
fog-0.0.99 lib/fog/terremark/requests/shared/delete_vapp.rb
fog-0.0.98 lib/fog/terremark/requests/shared/delete_vapp.rb
fog-0.0.97 lib/fog/terremark/requests/shared/delete_vapp.rb
fog-0.0.96 lib/fog/terremark/requests/shared/delete_vapp.rb
fog-0.0.95 lib/fog/terremark/requests/shared/delete_vapp.rb
fog-0.0.94 lib/fog/terremark/requests/shared/delete_vapp.rb
fog-0.0.93 lib/fog/terremark/requests/shared/delete_vapp.rb
fog-0.0.92 lib/fog/terremark/requests/shared/delete_vapp.rb