Sha256: 986a5ea583627655884fad7f3d425ce610cef97b5a825abec8a62933f1c030ad
Contents?: true
Size: 441 Bytes
Versions: 65
Compression:
Stored size: 441 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
65 entries across 65 versions & 6 rubygems