Class: Pray::TrustRule
- Inherits:
-
Struct
- Object
- Struct
- Pray::TrustRule
- Defined in:
- lib/pray/trust.rb
Instance Attribute Summary collapse
-
#allow ⇒ Object
Returns the value of attribute allow.
-
#allowed_host_keys ⇒ Object
Returns the value of attribute allowed_host_keys.
-
#allowed_publishers ⇒ Object
Returns the value of attribute allowed_publishers.
-
#allowed_signing_keys ⇒ Object
Returns the value of attribute allowed_signing_keys.
-
#match_prefix ⇒ Object
Returns the value of attribute match_prefix.
-
#require_signed_commit ⇒ Object
Returns the value of attribute require_signed_commit.
Instance Method Summary collapse
-
#initialize(match_prefix: nil, allow: true, require_signed_commit: false, allowed_signing_keys: [], allowed_host_keys: [], allowed_publishers: []) ⇒ TrustRule
constructor
A new instance of TrustRule.
Constructor Details
#initialize(match_prefix: nil, allow: true, require_signed_commit: false, allowed_signing_keys: [], allowed_host_keys: [], allowed_publishers: []) ⇒ TrustRule
Returns a new instance of TrustRule.
11 12 13 14 15 16 |
# File 'lib/pray/trust.rb', line 11 def initialize( match_prefix: nil, allow: true, require_signed_commit: false, allowed_signing_keys: [], allowed_host_keys: [], allowed_publishers: [] ) super end |
Instance Attribute Details
#allow ⇒ Object
Returns the value of attribute allow
7 8 9 |
# File 'lib/pray/trust.rb', line 7 def allow @allow end |
#allowed_host_keys ⇒ Object
Returns the value of attribute allowed_host_keys
7 8 9 |
# File 'lib/pray/trust.rb', line 7 def allowed_host_keys @allowed_host_keys end |
#allowed_publishers ⇒ Object
Returns the value of attribute allowed_publishers
7 8 9 |
# File 'lib/pray/trust.rb', line 7 def allowed_publishers @allowed_publishers end |
#allowed_signing_keys ⇒ Object
Returns the value of attribute allowed_signing_keys
7 8 9 |
# File 'lib/pray/trust.rb', line 7 def allowed_signing_keys @allowed_signing_keys end |
#match_prefix ⇒ Object
Returns the value of attribute match_prefix
7 8 9 |
# File 'lib/pray/trust.rb', line 7 def match_prefix @match_prefix end |
#require_signed_commit ⇒ Object
Returns the value of attribute require_signed_commit
7 8 9 |
# File 'lib/pray/trust.rb', line 7 def require_signed_commit @require_signed_commit end |