Class: Ingress::Services::CopyPermissionsRepositoryIntoRole

Inherits:
Object
  • Object
show all
Defined in:
lib/ingress/copy_permissions_repository_into_role.rb

Class Method Summary collapse

Class Method Details

.perform(role_identifier, template_permission_repository) ⇒ Object



7
8
9
10
11
# File 'lib/ingress/copy_permissions_repository_into_role.rb', line 7

def perform(role_identifier, template_permission_repository)
  permission_repository = PermissionsRepository.new
  permission_repository.copy_to_role(role_identifier, template_permission_repository)
  permission_repository
end