Class: Vcert::CertField

Inherits:
Object
  • Object
show all
Defined in:
lib/objects/objects.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value, locked: false) ⇒ CertField

Returns a new instance of CertField.



325
326
327
328
# File 'lib/objects/objects.rb', line 325

def initialize(value, locked: false)
  @value = value
  @locked = locked
end

Instance Attribute Details

#lockedObject (readonly)

Returns the value of attribute locked.



323
324
325
# File 'lib/objects/objects.rb', line 323

def locked
  @locked
end

#valueObject (readonly)

Returns the value of attribute value.



323
324
325
# File 'lib/objects/objects.rb', line 323

def value
  @value
end