Class: Brazify::Email
- Defined in:
- lib/brazify/resources/email.rb
Class Method Summary collapse
Methods inherited from Resource
Class Method Details
.blacklist(email:) ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/brazify/resources/email.rb', line 14 def blacklist(email:) post( path: '/email/blacklist', params: { email: email } ) end |
.update_status(email:, subscription_state:) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/brazify/resources/email.rb', line 4 def update_status(email:, subscription_state:) post( path: '/email/status', params: { email: email, subscription_state: subscription_state } ) end |