lib/twilio-ruby/rest/api/v2010/account/message/media.rb in twilio-ruby-5.1.2 vs lib/twilio-ruby/rest/api/v2010/account/message/media.rb in twilio-ruby-5.2.0
- old
+ new
@@ -344,9 +344,16 @@
# Provide a user friendly representation
def to_s
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
"<Twilio.Api.V2010.MediaInstance #{values}>"
end
+
+ ##
+ # Provide a detailed, user friendly representation
+ def inspect
+ values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
+ "<Twilio.Api.V2010.MediaInstance #{values}>"
+ end
end
end
end
end
end
\ No newline at end of file