Sha256: 42b9f99bc7253dfb1f40848f71029cad5a8074548493b69d1a59f4e4499314ef

Contents?: true

Size: 492 Bytes

Versions: 12

Compression:

Stored size: 492 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

12 entries across 12 versions & 1 rubygems

Version Path
fog-oraclecloud-0.1.12 lib/fog/oraclecloud/models/compute/security_list.rb
fog-oraclecloud-0.1.11 lib/fog/oraclecloud/models/compute/security_list.rb
fog-oraclecloud-0.1.10 lib/fog/oraclecloud/models/compute/security_list.rb
fog-oraclecloud-0.1.9 lib/fog/oraclecloud/models/compute/security_list.rb
fog-oraclecloud-0.1.8 lib/fog/oraclecloud/models/compute/security_list.rb
fog-oraclecloud-0.1.7 lib/fog/oraclecloud/models/compute/security_list.rb
fog-oraclecloud-0.1.6 lib/fog/oraclecloud/models/compute/security_list.rb
fog-oraclecloud-0.1.5 lib/fog/oraclecloud/models/compute/security_list.rb
fog-oraclecloud-0.1.4 lib/fog/oraclecloud/models/compute/security_list.rb
fog-oraclecloud-0.1.3 lib/fog/oraclecloud/models/compute/security_list.rb
fog-oraclecloud-0.1.2 lib/fog/oraclecloud/models/compute/security_list.rb
fog-oraclecloud-0.1.1 lib/fog/oraclecloud/models/compute/security_list.rb