Class: CommitSignatures::SshSignature
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- CommitSignatures::SshSignature
- Includes:
- CommitSignature, SignatureType
- Defined in:
- app/models/commit_signatures/ssh_signature.rb
Constant Summary
Constants included from SignatureType
Constants inherited from ApplicationRecord
Constants included from HasCheckConstraints
HasCheckConstraints::NOT_NULL_CHECK_PATTERN
Constants included from ResetOnColumnErrors
ResetOnColumnErrors::MAX_RESET_PERIOD
Instance Method Summary collapse
Methods included from CommitSignature
Methods inherited from ApplicationRecord
===, cached_column_list, #create_or_load_association, current_transaction, declarative_enum, default_select_columns, delete_all_returning, #deleted_from_database?, id_in, id_not_in, iid_in, nullable_column?, 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
Methods included from Organizations::Sharding
Methods included from ResetOnColumnErrors
#reset_on_union_error, #reset_on_unknown_attribute_error
Methods included from Gitlab::SensitiveSerializableHash
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 |