Sha256: feb7d5cf57b7f1f3f2c20b84a4ddb6a580f963785d64988e56f151f137437566
Contents?: true
Size: 452 Bytes
Versions: 23
Compression:
Stored size: 452 Bytes
Contents
require "fog/brightbox/models/compute/image" module Fog module Brightbox class Compute class Images < Fog::Collection model Fog::Brightbox::Compute::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
23 entries across 23 versions & 1 rubygems