Sha256: eadc966742b66b8b52e34d39f215f88534b897709e9eadbe31eaadb1ba87ed1d
Contents?: true
Size: 509 Bytes
Versions: 39
Compression:
Stored size: 509 Bytes
Contents
require 'fog/core/collection' require 'fog/bluebox/models/compute/image' module Fog module Compute class Bluebox class Images < Fog::Collection model Fog::Compute::Bluebox::Image def all data = service.get_templates.body load(data) end def get(template_id) response = service.get_template(template_id) new(response.body) rescue Fog::Compute::Bluebox::NotFound nil end end end end end
Version data entries
39 entries across 37 versions & 5 rubygems