Sha256: 04e235f7d25bf703a2e42605c08e0239310a46f99b51120b32e717399a4962aa

Contents?: true

Size: 502 Bytes

Versions: 1

Compression:

Stored size: 502 Bytes

Contents

module Fetcher
  class Microdata
    class PersonUser < Fetcher::Microdata

      def initialize *args
        if args.length == 1
          super *args
        else
          raise ArgumentError, "Wrong number of arguments #{args.length} and 1 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

1 entries across 1 versions & 1 rubygems

Version Path
fetcher-microdata-0.0.4 lib/fetcher-microdata/person_user.rb