lib/scim/kit/v2/templates/attribute.json.jbuilder in scim-kit-0.5.0 vs lib/scim/kit/v2/templates/attribute.json.jbuilder in scim-kit-0.5.1
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
json.key_format! camelize: :lower
if _type.complex? && !_type.multi_valued
json.set! _type.name do
- dynamic_attributes.values.each do |attribute|
+ dynamic_attributes.each_value do |attribute|
render attribute, json: json
end
end
elsif renderable?
json.set! _type.name, _value