class Fog::Compute::StormOnDemand::Templates

Public Instance Methods

all(options={}) click to toggle source
# File lib/fog/storm_on_demand/models/compute/templates.rb, line 10
def all(options={})
  data = service.list_templates(options).body['items']
  load(data)
end
get(template_id) click to toggle source
# File lib/fog/storm_on_demand/models/compute/templates.rb, line 15
def get(template_id)
  tpl = service.get_template_details(:id => template_id).body
  new(tpl)
end