Sha256: fb864d50c6379711767bdb1609097025b73c29f8481d112709fe1f884483bb9d
Contents?: true
Size: 551 Bytes
Versions: 1
Compression:
Stored size: 551 Bytes
Contents
module Fetcher class Microdata class ArticleSmall < 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/Article/Small" end attribute :additionalType attribute :id attribute :articleBody attribute :author attribute :viewer attribute :dateCreated attribute :provider 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/article_small.rb |