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.
228 229 230 |
# File 'lib/twilio-ruby/jwt/access_token.rb', line 228 def room @room end |
Instance Method Details
#_generate_payload ⇒ Object
234 235 236 237 238 239 240 |
# File 'lib/twilio-ruby/jwt/access_token.rb', line 234 def _generate_payload payload = {} payload[:room] = room if room payload end |
#_key ⇒ Object
230 231 232 |
# File 'lib/twilio-ruby/jwt/access_token.rb', line 230 def _key 'video' end |