lib/libis/services/rosetta/producer.rb in libis-services-1.0.5 vs lib/libis/services/rosetta/producer.rb in libis-services-1.0.6
- old
+ new
@@ -59,11 +59,12 @@
xml_doc = Libis::Tools::XmlDocument.parse(xml)
hash = xml_doc.to_hash(
strip_namespaces: true,
delete_namespace_attributes: true,
empty_tag_value: nil,
- convert_tags_to: lambda { |tag| tag.to_sym }
+ convert_tags_to: lambda(&:to_sym)
)
+ # noinspection RubyArgCount
self.new(hash[:producer_info])
end
end
end
end