Sha256: d692c18ec77ca293b3c7396f71e916bd2ed378ac6df42d951338e224ca54c5db

Contents?: true

Size: 551 Bytes

Versions: 6

Compression:

Stored size: 551 Bytes

Contents

module Fetcher
  class Microdata
    class ArticleSmall < Fetcher::Microdata

      def initialize *args
        if args.length == 3
          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

6 entries across 6 versions & 1 rubygems

Version Path
fetcher-microdata-0.0.10 lib/fetcher-microdata/article_small.rb
fetcher-microdata-0.0.9 lib/fetcher-microdata/article_small.rb
fetcher-microdata-0.0.8 lib/fetcher-microdata/article_small.rb
fetcher-microdata-0.0.7 lib/fetcher-microdata/article_small.rb
fetcher-microdata-0.0.6 lib/fetcher-microdata/article_small.rb
fetcher-microdata-0.0.5 lib/fetcher-microdata/article_small.rb