lib/conjur/api.rb in conjur-api-2.1.4 vs lib/conjur/api.rb in conjur-api-2.1.5
- old
+ new
@@ -16,9 +16,13 @@
class RestClient::Resource
include Conjur::Escape
include Conjur::LogSource
extend Conjur::BuildFromResponse
+ def to_json(options = {})
+ {}
+ end
+
def path_components
require 'uri'
URI.parse(self.url).path.split('/').map{|e| URI.unescape e}
end
\ No newline at end of file