Module: Closeio::Client::BulkAction
- Included in:
- Closeio::Client
- Defined in:
- lib/closeio/resources/bulk_action.rb
Instance Method Summary collapse
- #bulk_delete(options = {}) ⇒ Object
- #bulk_edit(options = {}) ⇒ Object
- #list_bulk_emails ⇒ Object
- #send_bulk_email(options = {}) ⇒ Object
Instance Method Details
#bulk_delete(options = {}) ⇒ Object
13 14 15 |
# File 'lib/closeio/resources/bulk_action.rb', line 13 def bulk_delete(={}) post("#{bulk_action_path}delete/", ) end |
#bulk_edit(options = {}) ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'lib/closeio/resources/bulk_action.rb', line 17 def bulk_edit(={}) # query: search query for the edit # type: # set_lead_status: lead_status_id # clear_custom_field: custom_field_name # set_custom_field: custom_field_name, custom_field_value post("#{bulk_action_path}edit/", ) end |
#list_bulk_emails ⇒ Object
5 6 7 |
# File 'lib/closeio/resources/bulk_action.rb', line 5 def list_bulk_emails get(bulk_action_path) end |
#send_bulk_email(options = {}) ⇒ Object
9 10 11 |
# File 'lib/closeio/resources/bulk_action.rb', line 9 def send_bulk_email(={}) post("#{bulk_action_path}email/", ) end |