Sha256: 5218ef63a303abb3bb25d6236746199e5a40102af3ea0fac4b95f95e0ff14918
Contents?: true
Size: 618 Bytes
Versions: 2
Compression:
Stored size: 618 Bytes
Contents
module Fog module Compute class OracleCloud class SecurityApplications < Fog::Collection model Fog::Compute::OracleCloud::SecurityApplication def all data = service.list_security_applications().body['result'] public_data = service.list_security_applications('public').body['result'] load(data.concat(public_data)) end def all_public data = service.list_security_applications('public').body['result'] load(data) end def get(name) data = service.get_security_application(name).body new(data) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-oraclecloud-0.1.17 | lib/fog/oraclecloud/models/compute/security_applications.rb |
fog-oraclecloud-0.1.16 | lib/fog/oraclecloud/models/compute/security_applications.rb |