Class: Gitlab::Triage::Action::Base
- Inherits:
-
Object
- Object
- Gitlab::Triage::Action::Base
- Defined in:
- lib/gitlab/triage/action/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#network ⇒ Object
readonly
Returns the value of attribute network.
-
#policy ⇒ Object
readonly
Returns the value of attribute policy.
Instance Method Summary collapse
-
#initialize(policy:, network:) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(policy:, network:) ⇒ Base
Returns a new instance of Base.
7 8 9 10 |
# File 'lib/gitlab/triage/action/base.rb', line 7 def initialize(policy:, network:) @policy = policy @network = network end |
Instance Attribute Details
#network ⇒ Object (readonly)
Returns the value of attribute network.
5 6 7 |
# File 'lib/gitlab/triage/action/base.rb', line 5 def network @network end |
#policy ⇒ Object (readonly)
Returns the value of attribute policy.
5 6 7 |
# File 'lib/gitlab/triage/action/base.rb', line 5 def policy @policy end |