Method: Twilio::REST::Chat::V2::ServiceContext::UserContext#initialize
- Defined in:
- lib/twilio-ruby/rest/chat/v2/service/user.rb
#initialize(version, service_sid, sid) ⇒ UserContext
Initialize the UserContext
242 243 244 245 246 247 248 249 250 251 252 253 |
# File 'lib/twilio-ruby/rest/chat/v2/service/user.rb', line 242 def initialize(version, service_sid, sid) super(version) # Path Solution @solution = { service_sid: service_sid, sid: sid, } @uri = "/Services/#{@solution[:service_sid]}/Users/#{@solution[:sid]}" # Dependents @user_channels = nil @user_bindings = nil end |