Sha256: 57c161e86734b3823eaf7cd2e34ab15c18119a0a59fc65285588c5b72b7422af

Contents?: true

Size: 466 Bytes

Versions: 3

Compression:

Stored size: 466 Bytes

Contents

require 'fog/core/model'

module Fog
  module Compute
  	class OracleCloud
	    class SecurityList < Fog::Model
	      identity  :name

	      attribute :account
	      attribute :name
	      attribute :uri
	      attribute :outbound_cidr_policy
	      attribute :proxyuri
	      attribute :policy

	      # Only used in create
	      attribute :description

 				def save
          #identity ? update : create
          create
        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_list.rb
fog-oraclecloud-0.1.14 lib/fog/oraclecloud/models/compute/security_list.rb
fog-oraclecloud-0.1.13 lib/fog/oraclecloud/models/compute/security_list.rb