lib/conjur/has_id.rb in conjur-api-2.1.4 vs lib/conjur/has_id.rb in conjur-api-2.1.5

- old
+ new

@@ -1,6 +1,10 @@ module Conjur module HasId + def to_json(options = {}) + { id: id } + end + def id path_components[-1] end end end \ No newline at end of file