Class: NeetoCommonsBackend::SampleData::Common::NeetoTeamMembersService
- Inherits:
-
Base
- Object
- Base
- NeetoCommonsBackend::SampleData::Common::NeetoTeamMembersService
- Defined in:
- app/services/neeto_commons_backend/sample_data/common/neeto_team_members_service.rb
Instance Method Summary collapse
Methods inherited from Base
#admin, #app_secrets, #description, #heroku_or_development_env?, #load!, #organization, #print_description, #print_success, #skip?
Instance Method Details
#process! ⇒ Object
7 8 9 10 11 12 |
# File 'app/services/neeto_commons_backend/sample_data/common/neeto_team_members_service.rb', line 7 def process! NeetoTeamMembersEngine::PermissionSeederService.new.process Organization.find_each do |organization| NeetoTeamMembersEngine::OrganizationRoleSeederService.new(organization).process end end |