Module: Conjur::Exists
Instance Method Summary collapse
Instance Method Details
#exists?(options = {}) ⇒ Boolean
3 4 5 6 7 8 9 10 |
# File 'lib/conjur/exists.rb', line 3 def exists?( = {}) begin self.head() true rescue RestClient::ResourceNotFound false end end |