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