Sha256: 2a872d4ffca3ab16580ee175931bde36e3a427ca1e0a45ce392c81d980d91676
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 3 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.3 | lib/fetcher-microdata/person_user.rb |