Class: Twilio::JWT::AccessToken::PlaybackGrant

Inherits:
Object
  • Object
show all
Includes:
Twilio::JWT::AccessTokenGrant
Defined in:
lib/twilio-ruby/jwt/access_token.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#grantObject

Returns the value of attribute grant.



214
215
216
# File 'lib/twilio-ruby/jwt/access_token.rb', line 214

def grant
  @grant
end

Instance Method Details

#_generate_payloadObject



220
221
222
# File 'lib/twilio-ruby/jwt/access_token.rb', line 220

def _generate_payload
  grant
end

#_keyObject



216
217
218
# File 'lib/twilio-ruby/jwt/access_token.rb', line 216

def _key
  'player'
end