Sha256: beb5f4f776179d9c6f2c47cfe8df62544430dbf643e0da3bc7a12b3e2d5eb6bc

Contents?: true

Size: 566 Bytes

Versions: 10

Compression:

Stored size: 566 Bytes

Contents

module AppleNews
  class Metadata
    include Properties
    optional_properties :authors, :campaign_data, :canonical_url, :date_created,
                        :date_modified, :date_published, :excerpt, :generator_identifier,
                        :keywords, :thumbnail_url

    optional_property :generator_name, "apple-news-rb"
    optional_property :generator_version, AppleNews::VERSION
    optional_property :transparent_toolbar, false

    property_inflection :canonical_url, 'canonicalURL'
    property_inflection :thumbnail_url, 'thumbnailURL'
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
apple-news-0.3.1 lib/apple-news/metadata.rb
apple-news-0.3.0 lib/apple-news/metadata.rb
apple-news-0.2.5 lib/apple-news/metadata.rb
apple-news-0.2.4 lib/apple-news/metadata.rb
apple-news-0.2.3 lib/apple-news/metadata.rb
apple-news-0.2.2 lib/apple-news/metadata.rb
apple-news-0.2.1 lib/apple-news/metadata.rb
apple-news-0.2.0 lib/apple-news/metadata.rb
apple-news-0.1.1 lib/apple-news/metadata.rb
apple-news-0.1.0 lib/apple-news/metadata.rb