Sha256: 3c0ef21be456a4f644c361861c30e62b60b9d6fa1e025671926410867d94a2e4
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 3 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.3 | lib/fetcher-microdata/article_small.rb |