class Punchblock::Command::Join
Constants
- VALID_DIRECTIONS
Public Instance Methods
direction=(other)
click to toggle source
Calls superclass method
# File lib/punchblock/command/join.rb, line 19 def direction=(other) if other && !VALID_DIRECTIONS.include?(other.to_sym) raise ArgumentError, "Invalid Direction (#{other.inspect}), use: #{VALID_DIRECTIONS*' '}" end super end
rayo_attributes()
click to toggle source
# File lib/punchblock/command/join.rb, line 29 def rayo_attributes { 'call-uri' => call_uri, 'mixer-name' => mixer_name, 'direction' => direction, 'media' => media } end