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