Sha256: 04ebbec61c9caf16a783f4a6b9cf0f72a5d8f182f52e428e88598f75c7699352
Contents?: true
Size: 451 Bytes
Versions: 8
Compression:
Stored size: 451 Bytes
Contents
module CloudControl::API class Image < Core def server_list endpoint '/base/image' get end def deployed_list(options = {}) endpoint "/#{org_id}/image/deployed" query_params options get end def show_by_name(name, options = {}) options[:name] = name single(deployed_list(options)) end def show(image_id) endpoint "/#{org_id}/image/#{image_id}" get end end end
Version data entries
8 entries across 8 versions & 1 rubygems