class PortaText::Command::Api::Calls
The calls endpoint. github.com/PortaText/docs/wiki/REST-API#api_calls
- Author
-
Marcelo Gornstein (marcelog@portatext.com)
- Copyright
-
Copyright © 2015
PortaText
- License
-
Apache-2.0
Public Instance Methods
dial_timeout(timeout)
click to toggle source
# File lib/portatext/command/api/calls.rb, line 23 def dial_timeout(timeout) set :dial_timeout, timeout end
endpoint(_method)
click to toggle source
# File lib/portatext/command/api/calls.rb, line 31 def endpoint(_method) 'calls' end
flow(call_flow)
click to toggle source
# File lib/portatext/command/api/calls.rb, line 27 def flow(call_flow) set :flow, call_flow end
from(from)
click to toggle source
# File lib/portatext/command/api/calls.rb, line 15 def from(from) set :from, from end
outbound_trunk_id(trunk_id)
click to toggle source
# File lib/portatext/command/api/calls.rb, line 19 def outbound_trunk_id(trunk_id) set :outbound_trunk_id, trunk_id end
to(to)
click to toggle source
# File lib/portatext/command/api/calls.rb, line 11 def to(to) set :to, to end