Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a better "inspect" #45

Open
kgilpin opened this issue Feb 18, 2015 · 0 comments
Open

Provide a better "inspect" #45

kgilpin opened this issue Feb 18, 2015 · 0 comments
Assignees

Comments

@kgilpin
Copy link
Contributor

kgilpin commented Feb 18, 2015

Working with the conjur API in a ruby repl (e.g. pry) is frustrating
because it seems to use ruby's default Object#inspect. This results in
objects being printed like the following (with large strings in place
of the ellipses):

# <Conjur::Role:0x007fbbf19323d0
@block=nil, 
@options= 
{:headers=> 
{:authorization=> 
"..."}, 
:username=>"..."}, 
@url= 
"...">

It'd be really helpful if #inspect returned a more concise and
descriptive string like #<Conjur::Role 'stripe:layer:layer1'>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants