module Closeio::Client::BulkAction

Public Instance Methods

bulk_delete(options = {}) click to toggle source
# File lib/closeio/resources/bulk_action.rb, line 12
def bulk_delete(options = {})
  post("#{bulk_action_path}delete/", options)
end
bulk_edit(options = {}) click to toggle source
# File lib/closeio/resources/bulk_action.rb, line 16
def bulk_edit(options = {})
  # 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/", options)
end
list_bulk_emails() click to toggle source
# File lib/closeio/resources/bulk_action.rb, line 4
def list_bulk_emails
  get(bulk_action_path)
end
send_bulk_email(options = {}) click to toggle source
# File lib/closeio/resources/bulk_action.rb, line 8
def send_bulk_email(options = {})
  post("#{bulk_action_path}email/", options)
end

Private Instance Methods

bulk_action_path() click to toggle source
# File lib/closeio/resources/bulk_action.rb, line 27
def bulk_action_path
  'bulk_action/'
end