lib/infoblox/connection.rb in infoblox-0.4.0 vs lib/infoblox/connection.rb in infoblox-0.4.1

- old
+ new

@@ -72,9 +72,16 @@ def adapter @adapter ||= :net_http end + ## + # Don't display the username/password in logging, etc. + # + def inspect + "#<#{self.class}:#{object_id} @host=\"#{@host}\">" + end + private def wrap yield.tap do |response| unless response.status < 300