lib/fetcher-microdata/review.rb in fetcher-microdata-0.0.3 vs lib/fetcher-microdata/review.rb in fetcher-microdata-0.0.4
- old
+ new
@@ -4,10 +4,10 @@
def initialize *args
if args.length == 2
super *args
else
- raise ArgumentError, "Wrong number of arguments #{args.length} and 3 needed"
+ raise ArgumentError, "Wrong number of arguments #{args.length} and 2 needed"
end
@_type = "http://schema.org/Review"
end
attribute :additionalType
\ No newline at end of file