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