lib/actv/asset.rb in actv-1.1.3 vs lib/actv/asset.rb in actv-1.1.5

- old
+ new

@@ -45,9 +45,13 @@ def org_timezone @org_timezone ||= @attrs[:localTimeZoneId] unless @attrs[:localTimeZoneId].nil? end + def version + @asset_version ||= @attrs[:assetVersion] unless @attrs[:assetVersion].nil? + end + def descriptions @descriptions ||= Array(@attrs[:assetDescriptions]).map do |description| ACTV::AssetDescription.new(description) end end