Class: GpgKeySubkey

Inherits:
ApplicationRecord show all
Includes:
ShaAttribute
Defined in:
app/models/gpg_key_subkey.rb

Instance Method Summary collapse

Methods inherited from ApplicationRecord

at_most, id_in, id_not_in, iid_in, pluck_primary_key, primary_key_in, safe_ensure_unique, safe_find_or_create_by, safe_find_or_create_by!, underscore, where_exists, with_fast_statement_timeout, without_order

Instance Method Details

#fingerprintObject


21
22
23
# File 'app/models/gpg_key_subkey.rb', line 21

def fingerprint
  super&.upcase
end

#keyidObject


17
18
19
# File 'app/models/gpg_key_subkey.rb', line 17

def keyid
  super&.upcase
end