lib/twilio-ruby/rest/chat/v2/service/user.rb in twilio-ruby-5.20.0 vs lib/twilio-ruby/rest/chat/v2/service/user.rb in twilio-ruby-5.20.1
- old
+ new
@@ -294,9 +294,16 @@
# Provide a user friendly representation
def to_s
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
"#<Twilio.Chat.V2.UserContext #{context}>"
end
+
+ ##
+ # Provide a detailed, user friendly representation
+ def inspect
+ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
+ "#<Twilio.Chat.V2.UserContext #{context}>"
+ end
end
class UserInstance < InstanceResource
##
# Initialize the UserInstance
\ No newline at end of file