lib/twilio-ruby/jwt/access_token.rb in twilio-ruby-5.59.0 vs lib/twilio-ruby/jwt/access_token.rb in twilio-ruby-5.60.0
- old
+ new
@@ -265,8 +265,21 @@
payload[:role] = role if role
payload
end
end
+
+ class PlaybackGrant
+ include AccessTokenGrant
+ attr_accessor :grant
+
+ def _key
+ 'player'
+ end
+
+ def _generate_payload
+ grant
+ end
+ end
end
end
end