Class: Gitlab::Triage::Action::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab/triage/action/base.rb

Direct Known Subclasses

Comment, CommentOnSummary, Delete, Issue, Summarize

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#networkObject (readonly)

Returns the value of attribute network.



7
8
9
# File 'lib/gitlab/triage/action/base.rb', line 7

def network
  @network
end

#policyObject (readonly)

Returns the value of attribute policy.



7
8
9
# File 'lib/gitlab/triage/action/base.rb', line 7

def policy
  @policy
end