Skip to content

Commit

Permalink
filter password on object inspection
Browse files Browse the repository at this point in the history
  • Loading branch information
deepthawtz committed Dec 28, 2011
1 parent 2898e98 commit 258198e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/zendesk/api.rb
Expand Up @@ -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.