Class: Audiences::Scim::UpsertGroupsObserver
- Inherits:
-
ObserverBase
- Object
- AetherObservatory::ObserverBase
- ObserverBase
- Audiences::Scim::UpsertGroupsObserver
- Defined in:
- lib/audiences/scim/upsert_groups_observer.rb
Instance Method Summary collapse
Instance Method Details
#process ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/audiences/scim/upsert_groups_observer.rb', line 11 def process Audiences.logger.info "#{upsert_action} group #{new_display_name} (#{new_external_id})" group.update! external_id: new_external_id, display_name: new_display_name, active: new_active rescue => e Audiences.logger.error e raise end |