Sha256: c23da5f374ba8f0dcc0c4b6cc69c091a650c7631e2c77109d27e6b69997b4d9e
Contents?: true
Size: 430 Bytes
Versions: 2
Compression:
Stored size: 430 Bytes
Contents
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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-storm_on_demand-0.1.0 | lib/fog/compute/storm_on_demand/models/templates.rb |
fog-storm_on_demand-0.0.1 | lib/fog/compute/storm_on_demand/models/templates.rb |