Sha256: 472d08253fd84af52d37d298939f1d8f357722057d401dea5e428232f9848ef0
Contents?: true
Size: 1.02 KB
Versions: 2
Compression:
Stored size: 1.02 KB
Contents
module Writer module Fetcher module Microdata module Twitter class PersonUser attr_reader :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 end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fetcher-microdata-twitter-0.0.2 | lib/writer/fetcher/microdata/twitter/person_user.rb |
fetcher-microdata-twitter-0.0.1 | lib/writer/fetcher/microdata/twitter/person_user.rb |