Module: BrazeAPI::Endpoints::SubscriptionGroups::Status
- Included in:
- Client
- Defined in:
- lib/braze_api/endpoints/subscription_groups/status.rb
Overview
Methods to call the subscription/status endpoint from a client instance
Constant Summary collapse
- PATH =
'/subscription/status/set'
Instance Method Summary collapse
-
#update_status(args = {}) ⇒ Object
The method to update a users subscription status Args object will look like: 'subscribed', subscription_group_id: id, external_id: uuid with either an external_id or an email and the subscription state and subscription group id.
Instance Method Details
#update_status(args = {}) ⇒ Object
The method to update a users subscription status Args object will look like: 'subscribed', subscription_group_id: id, external_id: uuid with either an external_id or an email and the subscription state and subscription group id
14 15 16 17 |
# File 'lib/braze_api/endpoints/subscription_groups/status.rb', line 14 def update_status(args = {}) args.compact! post(PATH, params: args) end |