Sha256: e1896b25db983e53659da7d5abda0730b877d19fc359afccc3dc3e5fad3f9815

Contents?: true

Size: 442 Bytes

Versions: 1

Compression:

Stored size: 442 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Destroys a router.
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/destroyRouter.html]
        def destroy_router(id, options={})
          options.merge!(
            'command' => 'destroyRouter', 
            'id' => id  
          )
          request(options)
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-1.23.0 lib/fog/cloudstack/requests/compute/destroy_router.rb