Class: Clusters::Agents::Authorizations::UserAccess::RefreshService
- Inherits:
-
Object
- Object
- Clusters::Agents::Authorizations::UserAccess::RefreshService
- Includes:
- Gitlab::Utils::StrongMemoize
- Defined in:
- app/services/clusters/agents/authorizations/user_access/refresh_service.rb
Constant Summary collapse
- AUTHORIZED_ENTITY_LIMIT =
100
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(agent, config:) ⇒ RefreshService
constructor
A new instance of RefreshService.
Constructor Details
#initialize(agent, config:) ⇒ RefreshService
Returns a new instance of RefreshService.
15 16 17 18 |
# File 'app/services/clusters/agents/authorizations/user_access/refresh_service.rb', line 15 def initialize(agent, config:) @agent = agent @config = config end |
Instance Method Details
#execute ⇒ Object
20 21 22 23 24 25 |
# File 'app/services/clusters/agents/authorizations/user_access/refresh_service.rb', line 20 def execute refresh_projects! refresh_groups! true end |