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(**args) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(**args) ⇒ Base
Returns a new instance of Base.
9 10 11 12 |
# File 'lib/gitlab/triage/action/base.rb', line 9 def initialize(**args) @policy = args[:policy] @network = args[:network] end |
Instance Attribute Details
#network ⇒ Object (readonly)
Returns the value of attribute network.
7 8 9 |
# File 'lib/gitlab/triage/action/base.rb', line 7 def network @network end |
#policy ⇒ Object (readonly)
Returns the value of attribute policy.
7 8 9 |
# File 'lib/gitlab/triage/action/base.rb', line 7 def policy @policy end |