lib/rixml.rb in rixml-0.4.3 vs lib/rixml.rb in rixml-0.4.4
- old
+ new
@@ -62,10 +62,10 @@
{
title: content['Title'],
abstract: content['Abstract'],
synopsis: content['Synopsis'],
file_name: content['Resource']&.dig('Name'),
- length: resource_length(content['Resource'])
+ pages: resource_length(content['Resource'])
}
end
def asset_classes
assets = @attrs.dig('Research', 'Product', 'Source', 'Organization', 'Expertise', 'AssetClasses', 'AssetClass')