Sha256: d34727fa51d0309b4410e51f868797fc7d060ba90465bd13eeb02f8a4f4878c2
Contents?: true
Size: 499 Bytes
Versions: 7
Compression:
Stored size: 499 Bytes
Contents
require 'fog/core/collection' module Fog module OracleCloud class SOA class Instances < Fog::Collection model Fog::OracleCloud::SOA::Instance def all data = service.list_instances().body['services'] load(data) end def get(id) begin new(service.get_instance(id).body) rescue Fog::OracleCloud::SOA::NotFound nil end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems