Class: Gitlab::Dangerfiles::Capability::ImportIntegrateBE
- Inherits:
-
Gitlab::Dangerfiles::Capability
- Object
- Struct
- Gitlab::Dangerfiles::CapabilityStruct
- Gitlab::Dangerfiles::Capability
- Gitlab::Dangerfiles::Capability::ImportIntegrateBE
- Defined in:
- lib/gitlab/dangerfiles/capability.rb
Instance Attribute Summary
Attributes inherited from Gitlab::Dangerfiles::CapabilityStruct
#category, #kind, #labels, #project
Instance Method Summary collapse
Methods inherited from Gitlab::Dangerfiles::Capability
Instance Method Details
#has_capability?(teammate) ⇒ Boolean
64 65 66 67 |
# File 'lib/gitlab/dangerfiles/capability.rb', line 64 def has_capability?(teammate) kind == :reviewer && teammate.role.match?(/Backend Engineer.+Manage:Import and Integrate/) end |