Class: KBSecret::Record::Login

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

Overview

Represents a record containing a login (username, password) pair.

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

#passwordString

Returns the password.

Returns:

  • (String)

    the password



11
# File 'lib/kbsecret/record/login.rb', line 11

data_field :username, sensitive: false

#usernameString

Returns the username.

Returns:

  • (String)

    the username



11
# File 'lib/kbsecret/record/login.rb', line 11

data_field :username, sensitive: false