lib/br_danfe/xml.rb in br_danfe-0.0.3 vs lib/br_danfe/xml.rb in br_danfe-0.0.4
- old
+ new
@@ -26,7 +26,11 @@
result << yield(det)
end
end
result
end
+
+ def version_310?
+ @xml.css("infNFe").attr("versao").to_s == "3.10"
+ end
end
end