lib/twilio-ruby/framework/twilio_response.rb in twilio-ruby-5.0.0.rc26 vs lib/twilio-ruby/framework/twilio_response.rb in twilio-ruby-5.0.0
- old
+ new
@@ -5,10 +5,10 @@
def initialize(status_code, body)
@status_code = status_code
body = '{}' if !body || body.empty?
@body = JSON.parse(body)
end
-
+
def to_s
"[#{status_code}] #{body}"
end
end
end