Class: Twilio::Participant

Inherits:
Object
  • Object
show all
Includes:
Deletable, Resource
Defined in:
lib/twilio/participant.rb

Instance Method Summary collapse

Methods included from Deletable

#destroy

Methods included from Resource

#[], #[]=, #initialize, #inspect, #update_attributes

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Twilio::Resource

Instance Method Details

#mute!Object



10
11
12
13
14
# File 'lib/twilio/participant.rb', line 10

def mute!
  state_guard do
    update_attributes muted? ? { :muted => false } : { :muted => true }
  end
end

#muted?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/twilio/participant.rb', line 16

def muted?
  muted
end