Sha256: cd76e03f7b4c8a9c34ddb37be37fe6f37bbbdb5b90f51eab60e063d5ad033ea9

Contents?: true

Size: 434 Bytes

Versions: 3

Compression:

Stored size: 434 Bytes

Contents

require 'fog/core/collection'

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

	    	model Fog::Compute::OracleCloud::SecurityApplication
				
				def all
					data = service.list_security_applications().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

3 entries across 3 versions & 1 rubygems

Version Path
fog-oraclecloud-0.1.15 lib/fog/oraclecloud/models/compute/security_applications.rb
fog-oraclecloud-0.1.14 lib/fog/oraclecloud/models/compute/security_applications.rb
fog-oraclecloud-0.1.13 lib/fog/oraclecloud/models/compute/security_applications.rb