lib/ridley/resource.rb in ridley-4.5.1 vs lib/ridley/resource.rb in ridley-4.6.0
- old
+ new
@@ -62,10 +62,10 @@
# @param [Ridley::Client] client
#
# @return [Array<Object>]
def all
request(:get, self.class.resource_path).collect do |identity, location|
- new(self.class.representation.chef_id => identity)
+ new(self.class.representation.chef_id.to_s => identity)
end
end
# @param [String, #chef_id] object
#