Module: Sevk::Audiences
- Defined in:
- lib/sevk.rb
Class Method Summary collapse
- .add_contacts(id, contact_ids) ⇒ Object
- .create(params) ⇒ Object
- .delete(id) ⇒ Object
- .get(id) ⇒ Object
- .list(params = {}) ⇒ Object
- .update(id, params) ⇒ Object
Class Method Details
.add_contacts(id, contact_ids) ⇒ Object
90 91 92 |
# File 'lib/sevk.rb', line 90 def add_contacts(id, contact_ids) Sevk.client.audiences.add_contacts(id, contact_ids) end |
.create(params) ⇒ Object
78 79 80 |
# File 'lib/sevk.rb', line 78 def create(params) Sevk.client.audiences.create(**params) end |
.delete(id) ⇒ Object
86 87 88 |
# File 'lib/sevk.rb', line 86 def delete(id) Sevk.client.audiences.delete(id) end |
.get(id) ⇒ Object
74 75 76 |
# File 'lib/sevk.rb', line 74 def get(id) Sevk.client.audiences.get(id) end |