Sha256: 07ba325d39173f90fbbc2723a388c84845ccde90a9bd7940d4453ce26207b371
Contents?: true
Size: 571 Bytes
Versions: 28
Compression:
Stored size: 571 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Stops a router. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/stopRouter.html] def stop_router(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'stopRouter') else options.merge!('command' => 'stopRouter', 'id' => args[0]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems