Method: AgoraDynamicKey2::ServiceApaas#initialize
- Defined in:
- lib/dynamic_key2/access_token.rb
#initialize(room_uuid = '', user_uuid = '', role = -1)) ⇒ ServiceApaas
Returns a new instance of ServiceApaas.
127 128 129 130 131 132 |
# File 'lib/dynamic_key2/access_token.rb', line 127 def initialize(room_uuid = '', user_uuid = '', role = -1) super(SERVICE_TYPE) @room_uuid = room_uuid @user_uuid = user_uuid @role = role end |