class PortaText::Command::Api::TelCampaign

A Telephony campaign. github.com/PortaText/docs/wiki/REST-API#api_campaigns

Author

Marcelo Gornstein (marcelog@portatext.com)

Copyright

Copyright © 2015 PortaText

License

Apache-2.0

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/portatext/command/api/tel_campaign.rb, line 39
def initialize
  super
  set :type, 'telephony'
end

Public Instance Methods

agents(agents) click to toggle source
# File lib/portatext/command/api/tel_campaign.rb, line 15
def agents(agents)
  set_setting :agents, agents
end
dial_timeout(timeout) click to toggle source
# File lib/portatext/command/api/tel_campaign.rb, line 31
def dial_timeout(timeout)
  set_setting :dial_timeout, timeout
end
flow(call_flow) click to toggle source
# File lib/portatext/command/api/tel_campaign.rb, line 35
def flow(call_flow)
  set_setting :flow, call_flow
end
iterations(iterations) click to toggle source
# File lib/portatext/command/api/tel_campaign.rb, line 11
def iterations(iterations)
  set_setting :iterations, iterations
end
min_iteration_time(minutes) click to toggle source
# File lib/portatext/command/api/tel_campaign.rb, line 23
def min_iteration_time(minutes)
  set_setting :min_iteration_time, minutes
end
outbound_trunk_id(trunk_id) click to toggle source
# File lib/portatext/command/api/tel_campaign.rb, line 27
def outbound_trunk_id(trunk_id)
  set_setting :outbound_trunk_id, trunk_id
end
post_call_work_duration(seconds) click to toggle source
# File lib/portatext/command/api/tel_campaign.rb, line 19
def post_call_work_duration(seconds)
  set_setting :post_call_work_duration, seconds
end