lib/conjur/deployment.rb in conjur-asset-deployment-api-0.2.1 vs lib/conjur/deployment.rb in conjur-asset-deployment-api-0.2.2
- old
+ new
@@ -37,10 +37,10 @@
RestClient::Resource.new(self["children/#{path_escape childid}"].url, options).delete
end
end
def hosts
- self.attributes['hosts'].values.collect do |id|
+ self.attributes['hosts'].collect do |id|
Conjur::Host.new("#{Conjur::Dep::API.host}/hosts/#{path_escape id}", options)
end
end
def children