Module: BrazeRuby::Endpoints::DeleteUsers
- Included in:
- API
- Defined in:
- lib/braze_ruby/endpoints/delete_users.rb
Instance Attribute Summary collapse
-
#delete_users_service ⇒ Object
writeonly
Sets the attribute delete_users_service.
Instance Method Summary collapse
Instance Attribute Details
#delete_users_service=(value) ⇒ Object
Sets the attribute delete_users_service
6 7 8 |
# File 'lib/braze_ruby/endpoints/delete_users.rb', line 6 def delete_users_service=(value) @delete_users_service = value end |
Instance Method Details
#delete_users(payload) ⇒ Object
12 13 14 |
# File 'lib/braze_ruby/endpoints/delete_users.rb', line 12 def delete_users(payload) delete_users_action(external_ids: payload.compact.uniq) end |
#delete_users_action(**payload) ⇒ Object
8 9 10 |
# File 'lib/braze_ruby/endpoints/delete_users.rb', line 8 def delete_users_action(**payload) delete_users_service.perform(**payload) end |