Class: Twilio::JWT::AccessToken::ConversationsGrant

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#configuration_profile_sidObject

Returns the value of attribute configuration_profile_sid


209
210
211
# File 'lib/twilio-ruby/jwt/access_token.rb', line 209

def configuration_profile_sid
  @configuration_profile_sid
end

Instance Method Details

#_generate_payloadObject


215
216
217
218
219
220
221
222
223
# File 'lib/twilio-ruby/jwt/access_token.rb', line 215

def _generate_payload
  payload = {}

  if configuration_profile_sid
    payload[:configuration_profile_sid] = configuration_profile_sid
  end

  payload
end

#_keyObject


211
212
213
# File 'lib/twilio-ruby/jwt/access_token.rb', line 211

def _key
  'rtc'
end