Sha256: 28187ed8f324690211d13a029a99764094ea5b52630f4605b85d0f5a2757cdd9
Contents?: true
Size: 569 Bytes
Versions: 2
Compression:
Stored size: 569 Bytes
Contents
module Fetcher class Microdata class Review < Fetcher::Microdata def initialize *args if args.length == 3 super *args else raise ArgumentError, "Wrong number of arguments #{args.length} and 3 needed" end @_type = "http://schema.org/Review" end attribute :additionalType attribute :id attribute :reviewBody attribute :author attribute :viewer attribute :dateCreated attribute :provider attribute :url attribute :original_tweet end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fetcher-microdata-0.0.7 | lib/fetcher-microdata/review.rb |
fetcher-microdata-0.0.6 | lib/fetcher-microdata/review.rb |