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