Sha256: 102d9892c227f21bf2f0f6474e483c3a4662cfd9c1935a4189f37c9f4f950c1f

Contents?: true

Size: 484 Bytes

Versions: 3

Compression:

Stored size: 484 Bytes

Contents

module Fetcher
  class Microdata
    class UserComments < Fetcher::Microdata

      def initialize *args
        if args.length == 2
          super *args
        else
          raise ArgumentError, "Wrong number of arguments #{args.length} and 2 needed"
        end
        @_type = 'http://schema.org/UserComments'
      end

      attribute :additionalType
      attribute :id
      attribute :commentText
      attribute :creator
      attribute :commentTime
   
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fetcher-microdata-0.0.13 lib/fetcher-microdata/user_comments.rb
fetcher-microdata-0.0.12 lib/fetcher-microdata/user_comments.rb
fetcher-microdata-0.0.11 lib/fetcher-microdata/user_comments.rb