Class: Twilio::JWT::AccessToken::VideoGrant
- Inherits:
-
Object
- Object
- Twilio::JWT::AccessToken::VideoGrant
- Includes:
- Twilio::JWT::AccessTokenGrant
- Defined in:
- lib/twilio-ruby/jwt/access_token.rb
Instance Attribute Summary collapse
-
#room ⇒ Object
Returns the value of attribute room.
Instance Method Summary collapse
Instance Attribute Details
#room ⇒ Object
Returns the value of attribute room.
224 225 226 |
# File 'lib/twilio-ruby/jwt/access_token.rb', line 224 def room @room end |
Instance Method Details
#_generate_payload ⇒ Object
230 231 232 233 234 235 236 |
# File 'lib/twilio-ruby/jwt/access_token.rb', line 230 def _generate_payload payload = {} payload[:room] = room if room payload end |
#_key ⇒ Object
226 227 228 |
# File 'lib/twilio-ruby/jwt/access_token.rb', line 226 def _key 'video' end |