Sha256: e30d404141b1fece148e6bd9a4491e5e574c5bbaa68ba89c57cb3c35f89f5207

Contents?: true

Size: 402 Bytes

Versions: 6

Compression:

Stored size: 402 Bytes

Contents

module Conjur
  module DSL2
    module Types
      class Deny < Base
        attribute :role, kind: :role, dsl_accessor: true
        attribute :privilege, kind: :string, dsl_accessor: true
        attribute :resource, dsl_accessor: true
        
        include ResourceMemberDSL
        
        def to_s
          "Deny #{role} to '#{privilege}' #{resource}"
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
conjur-asset-dsl2-0.4.4 lib/conjur/dsl2/types/deny.rb
conjur-asset-dsl2-0.4.3 lib/conjur/dsl2/types/deny.rb
conjur-asset-dsl2-0.4.2 lib/conjur/dsl2/types/deny.rb
conjur-asset-dsl2-0.3.2 lib/conjur/dsl2/types/deny.rb
conjur-asset-dsl2-0.3.1 lib/conjur/dsl2/types/deny.rb
conjur-asset-dsl2-0.3.0 lib/conjur/dsl2/types/deny.rb