Sha256: fa7eb3060c85776ca9e11a872a3d421a12816a923710f0deaabdf2aa7b03cfd2

Contents?: true

Size: 416 Bytes

Versions: 2

Compression:

Stored size: 416 Bytes

Contents

require 'fog/core/collection'

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

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

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