class Telnyx::Call

Constants

ACTIONS
OBJECT_NAME

Public Class Methods

new(*args, **opts) click to toggle source
Calls superclass method
# File lib/telnyx/call.rb, line 8
def initialize(*args, **opts)
  super
  opts.each do |k, v|
    setter = "#{k}=".to_sym
    next unless respond_to? setter
    send(setter, v)
  end
end

Public Instance Methods

id() click to toggle source
# File lib/telnyx/call.rb, line 17
def id
  call_control_id if defined? call_control_id
end
id=(val) click to toggle source
# File lib/telnyx/call.rb, line 21
def id=(val)
  initialize_from({ call_control_id: val }, {}, true)
end