Class: KBSecret::Record::Unstructured

Inherits:
Abstract
  • Object
show all
Defined in:
lib/kbsecret/record/unstructured.rb

Overview

Represents a record containing unstructured text.

Instance Attribute Summary collapse

Attributes inherited from Abstract

#data, #label, #path, #session, #timestamp, #type

Method Summary

Methods inherited from Abstract

data_field, data_fields, #data_fields, #defer_sync, #external_fields, external_fields, gen_methods, #initialize, #initialize_from_hash, internal?, #internal?, load!, #populate_internal_fields, #sensitive?, sensitive?, #sync!, #to_h, #to_s, type

Constructor Details

This class inherits a constructor from KBSecret::Record::Abstract

Instance Attribute Details

#textString

Returns the unstructured text of the record.

Returns:

  • (String)

    the unstructured text of the record



9
# File 'lib/kbsecret/record/unstructured.rb', line 9

data_field :text, sensitive: false