Sha256: 4a5ccec6a0f3845efce140db6bcac2e95230b7c7ef5fba40178b77924a0f80ae
Contents?: true
Size: 406 Bytes
Versions: 5
Compression:
Stored size: 406 Bytes
Contents
require 'fog/core/collection' module Fog module Compute class OracleCloud class SecurityRules < Fog::Collection model Fog::Compute::OracleCloud::SecurityRule def all data = service.list_security_rules().body['result'] load(data) end def get(name) data = service.get_security_rule(name).body new(data) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems