Class: CommitSignatures::SshSignature
Constant Summary
SignatureType::TYPES
ApplicationRecord::MAX_PLUCK
ResetOnUnionError::MAX_RESET_PERIOD
Instance Method Summary
collapse
#commit
cached_column_list, #create_or_load_association, declarative_enum, default_select_columns, id_in, id_not_in, iid_in, pluck_primary_key, primary_key_in, #readable_by?, safe_ensure_unique, safe_find_or_create_by, safe_find_or_create_by!, #to_ability_name, underscore, where_exists, where_not_exists, with_fast_read_statement_timeout, without_order
#serializable_hash
Instance Method Details
#key_fingerprint_sha256 ⇒ Object
19
20
21
|
# File 'app/models/commit_signatures/ssh_signature.rb', line 19
def key_fingerprint_sha256
super || key&.fingerprint_sha256
end
|
#signed_by_user ⇒ Object
15
16
17
|
# File 'app/models/commit_signatures/ssh_signature.rb', line 15
def signed_by_user
user || key&.user
end
|
#type ⇒ Object
11
12
13
|
# File 'app/models/commit_signatures/ssh_signature.rb', line 11
def type
:ssh
end
|