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.
174 175 176 |
# File 'lib/twilio-ruby/jwt/access_token.rb', line 174 def room @room end |
Instance Method Details
#_generate_payload ⇒ Object
180 181 182 183 184 185 186 |
# File 'lib/twilio-ruby/jwt/access_token.rb', line 180 def _generate_payload payload = {} payload[:room] = room if room payload end |
#_key ⇒ Object
176 177 178 |
# File 'lib/twilio-ruby/jwt/access_token.rb', line 176 def _key 'video' end |