Sha256: 3002fe6f0cc447f8c753fd0391136f8586d46526e53e05a9c56d2965414f4d82

Contents?: true

Size: 403 Bytes

Versions: 2

Compression:

Stored size: 403 Bytes

Contents

module Fog
  module Compute
  	class OracleCloud
	    class SecurityAssociations < Fog::Collection

	    	model Fog::Compute::OracleCloud::SecurityAssociation
				
				def all
					data = service.list_security_associations().body['result']
					load(data)
				end

 				def get(name)
          data = service.get_security_association(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_associations.rb
fog-oraclecloud-0.1.16 lib/fog/oraclecloud/models/compute/security_associations.rb