Class: UserRolesUpdate
- Inherits:
-
Dry::Operation
- Object
- Dry::Operation
- UserRolesUpdate
- Defined in:
- app/operations/user_roles_update.rb
Instance Method Summary collapse
Instance Method Details
#call(user:) ⇒ Object
4 5 6 7 8 |
# File 'app/operations/user_roles_update.rb', line 4 def call(user:) step verify_session(user) mediaflux_roles = step retrieve_roles_from_mediaflux(user) step update_user_roles(user:, mediaflux_roles:) end |