Sha256: e9e8244c5f30a57542fde579edb4ecce24540230e45d4c0a72e9ec30583d7337
Contents?: true
Size: 492 Bytes
Versions: 38
Compression:
Stored size: 492 Bytes
Contents
require 'fog/core/collection' require 'fog/brightbox/models/compute/image' module Fog module Compute class Brightbox class Images < Fog::Collection model Fog::Compute::Brightbox::Image def all data = connection.list_images load(data) end def get(identifier) data = connection.get_image(identifier) new(data) rescue Excon::Errors::NotFound nil end end end end end
Version data entries
38 entries across 38 versions & 13 rubygems