Class: BrazeRuby::REST::RemoveEmailAddressesFromSpam

Inherits:
Base
  • Object
show all
Defined in:
lib/braze_ruby/rest/remove_email_addresses_from_spam.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from BrazeRuby::REST::Base

Instance Method Details

#perform(email: []) ⇒ Object



6
7
8
9
10
# File 'lib/braze_ruby/rest/remove_email_addresses_from_spam.rb', line 6

def perform(email: [])
  http.post "/email/spam/remove", {
    email: email
  }
end