Sha256: b9943d91cd4794a2bf6dca4f33a6d243af36fb1bfc2d271a14b6570edc405749

Contents?: true

Size: 567 Bytes

Versions: 6

Compression:

Stored size: 567 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 :itemReviewed
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fetcher-microdata-0.0.13 lib/fetcher-microdata/review.rb
fetcher-microdata-0.0.12 lib/fetcher-microdata/review.rb
fetcher-microdata-0.0.11 lib/fetcher-microdata/review.rb
fetcher-microdata-0.0.10 lib/fetcher-microdata/review.rb
fetcher-microdata-0.0.9 lib/fetcher-microdata/review.rb
fetcher-microdata-0.0.8 lib/fetcher-microdata/review.rb