lib/twilio-ruby/rest/chat/v2/service/user.rb in twilio-ruby-5.1.2 vs lib/twilio-ruby/rest/chat/v2/service/user.rb in twilio-ruby-5.2.0
- old
+ new
@@ -457,9 +457,16 @@
# Provide a user friendly representation
def to_s
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
"<Twilio.Chat.V2.UserInstance #{values}>"
end
+
+ ##
+ # Provide a detailed, user friendly representation
+ def inspect
+ values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
+ "<Twilio.Chat.V2.UserInstance #{values}>"
+ end
end
end
end
end
end
\ No newline at end of file