Sha256: dbb9029de77373a52c4c38a2c7977920a78cedc7f0f8b5116fe908fe5c0ca1f4
Contents?: true
Size: 943 Bytes
Versions: 11
Compression:
Stored size: 943 Bytes
Contents
module Writer module Fetcher module Microdata class PersonUser attr_accessor :source def initialize the_source @source = the_source end def hash @attributes = @source.attributes { "type" => [ @source._type ], "properties" => { "additionalType" => [ @attributes[:additionalType] ], "Item#id" => [ @attributes[:id] ], "name" => [ @attributes[:name] ], "User#dateRegistered" => [ @attributes[:dateRegistered] ], "description" => [ @attributes[:description] ], "url" => [ @attributes[:url] ] } } end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems