Sha256: fe845d619e34c4a28c18898b8cfecf93e85d5700a35fbcb52b74439b8f035ba8

Contents?: true

Size: 502 Bytes

Versions: 9

Compression:

Stored size: 502 Bytes

Contents

module Fetcher
  class Microdata
    class PersonUser < 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/Person/User'
      end

      attribute :additionalType
      attribute :id
      attribute :name
      attribute :dateRegistered
      attribute :description
      attribute :url
   
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fetcher-microdata-0.0.13 lib/fetcher-microdata/person_user.rb
fetcher-microdata-0.0.12 lib/fetcher-microdata/person_user.rb
fetcher-microdata-0.0.11 lib/fetcher-microdata/person_user.rb
fetcher-microdata-0.0.10 lib/fetcher-microdata/person_user.rb
fetcher-microdata-0.0.9 lib/fetcher-microdata/person_user.rb
fetcher-microdata-0.0.8 lib/fetcher-microdata/person_user.rb
fetcher-microdata-0.0.7 lib/fetcher-microdata/person_user.rb
fetcher-microdata-0.0.6 lib/fetcher-microdata/person_user.rb
fetcher-microdata-0.0.5 lib/fetcher-microdata/person_user.rb