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.



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

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

Instance Attribute Details

#lockedObject (readonly)

Returns the value of attribute locked.



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

def locked
  @locked
end

#valueObject (readonly)

Returns the value of attribute value.



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

def value
  @value
end