lib/cfoundry/v2/model.rb in cfoundry-0.3.34 vs lib/cfoundry/v2/model.rb in cfoundry-0.3.35

- old
+ new

@@ -149,10 +149,10 @@ ["v2", "#{object_name}s", @guid, plural, x.guid], nil => :json) } define_method(:"#{plural}=") { |xs| - Model.validate_type(x, [CFoundry::V2.const_get(kls)]) + Model.validate_type(xs, [CFoundry::V2.const_get(kls)]) @manifest ||= {} @manifest[:entity] ||= {} @manifest[:entity][:"#{singular}_guids"] = @diff[:"#{singular}_guids"] = xs.collect(&:guid)