Sha256: 68504821d17e1265333903050416751be3384c2be6ff4352efb63cd943433f8d
Contents?: true
Size: 388 Bytes
Versions: 5
Compression:
Stored size: 388 Bytes
Contents
require 'fog/core/collection' module Fog module Compute class OracleCloud class Instances < Fog::Collection model Fog::Compute::OracleCloud::Instance def get(name) data = service.get_instance(name).body new(data) end def all data = service.list_instances().body['result'] load(data) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems