lib/libis/services/rosetta/user.rb in libis-services-1.0.5 vs lib/libis/services/rosetta/user.rb in libis-services-1.0.6
- old
+ new
@@ -58,11 +58,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
\ No newline at end of file