Class: Twilio::Participant
- Inherits:
-
Object
- Object
- Twilio::Participant
- Defined in:
- lib/twilio/participant.rb
Instance Method Summary collapse
Methods included from Deletable
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
16 17 18 |
# File 'lib/twilio/participant.rb', line 16 def muted? muted end |