Sha256: af0fc959654dda5d972c1e3ff49d8b61863f6d3d781783b5d10421b989346a14
Contents?: true
Size: 437 Bytes
Versions: 16
Compression:
Stored size: 437 Bytes
Contents
require 'fog/core/collection' require 'fog/serverlove/models/compute/image' module Fog module Compute class Serverlove class Images < Fog::Collection model Fog::Compute::Serverlove::Image def all data = service.get_images.body load(data) end def get(image_id) data = service.get_image(image_id).body new(data) end end end end end
Version data entries
16 entries across 16 versions & 4 rubygems