Sha256: 7c9094e1c62c32c7e75c3b3b72be3f5a9214763cbedfd701c40af212f1d483f9
Contents?: true
Size: 513 Bytes
Versions: 15
Compression:
Stored size: 513 Bytes
Contents
require 'fog/core/collection' require 'fog/storm_on_demand/models/compute/template' module Fog module Compute class StormOnDemand class Templates < Fog::Collection model Fog::Compute::StormOnDemand::Template def all(options={}) data = service.list_templates(options).body['items'] load(data) end def get(template_id) tpl = service.get_template_details(:id => template_id).body new(tpl) end end end end end
Version data entries
15 entries across 15 versions & 4 rubygems