Permalink
Browse files

filter password on object inspection

  • Loading branch information...
deepthawtz committed Dec 28, 2011
1 parent 2898e98 commit 258198ef267e0ef2f239613c428009e0c65b0e6d
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/zendesk/api.rb
View
@@ -16,8 +16,8 @@ def basic_auth(email, password)
@email, @password = email, password
end
-# def inspect
-# "#<#{self.class} @account=#{account} @email=#{email} @password=****** @proxy=#{proxy} @cache=#{@cache}>"
-# end
+ def inspect
+ "#<#{self.class} @account=#{account} @email=#{email} @password=********* @cache=#{@cache || {}} @format=#{format}>"
+ end
end
end

0 comments on commit 258198e

Please sign in to comment.