Sha256: c741041cc40eb1aa471d488b2d82b4afcf090b96b41d5adf5c454c358b0f8671
Contents?: true
Size: 669 Bytes
Versions: 4
Compression:
Stored size: 669 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Creates a service offering. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/createServiceOffering.html] def create_service_offering(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'createServiceOffering') else options.merge!('command' => 'createServiceOffering', 'name' => args[0], 'displaytext' => args[1]) end request(options) end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems