Sha256: 0047bd93cdde361ac14ace3ac0f36c5da3c511c4358eebf352ae006cd169c67c
Contents?: true
Size: 398 Bytes
Versions: 12
Compression:
Stored size: 398 Bytes
Contents
require 'fog/core/collection' module Fog module Compute class OracleCloud class Images < Fog::Collection model Fog::Compute::OracleCloud::Image def get(name) data = service.get_image(name).body new(data) end def all data = service.list_images().body['result'] load(data) end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems