Sha256: b98f7249bd7ac941bdb2fb08a7e657f28f18a5e7078740e3bb822d14866e037a
Contents?: true
Size: 784 Bytes
Versions: 6
Compression:
Stored size: 784 Bytes
Contents
require_relative 'xml_verb' module Bandwidth module Voice # The Conference verb is used to add callees to conferences class Conference include XmlVerb def to_bxml(xml) if not call_ids_to_coach.nil? coach_ids = call_ids_to_coach.instance_of?(String) ? call_ids_to_coach : call_ids_to_coach.join(",") else coach_ids = nil end xml.Conference(conference_name, compact_hash({ 'mute' => mute, 'hold' => hold, 'callIdsToCoach' => coach_ids, 'conferenceEventUrl' => conference_event_url, 'conferenceEventMethod' => conference_event_method, 'username' => username, 'password' => password, 'tag' => tag })) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems