Sha256: 12d8fb97e33e1051a3663cc4b63e1c1b84ddf903899834c47403e24064075223
Contents?: true
Size: 452 Bytes
Versions: 16
Compression:
Stored size: 452 Bytes
Contents
require "fog/brightbox/models/compute/image" module Fog module Compute class Brightbox class Images < Fog::Collection model Fog::Compute::Brightbox::Image def all data = service.list_images load(data) end def get(identifier) data = service.get_image(identifier) new(data) rescue Excon::Errors::NotFound nil end end end end end
Version data entries
16 entries across 14 versions & 3 rubygems