Sha256: de524ac02ef31329e39d5c4ed5dd350b23bec5f7f3d50c5e710935c097552f8d
Contents?: true
Size: 363 Bytes
Versions: 2
Compression:
Stored size: 363 Bytes
Contents
module Conjur module DSL2 module Types class Member < Base def initialize role = nil self.role = role end attribute :role attribute :admin, kind: :boolean, singular: true def to_s "#{role} #{admin ? 'with' : 'without'} admin option" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
conjur-asset-dsl2-0.6.1 | lib/conjur/dsl2/types/member.rb |
conjur-asset-dsl2-0.6.0 | lib/conjur/dsl2/types/member.rb |