Sha256: 385c1d510835f4e9b4dd3d5519bbabce5ff8d71390edf44383f9d6b7c130764b

Contents?: true

Size: 599 Bytes

Versions: 4

Compression:

Stored size: 599 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
    optional_property :links, {}

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
apple-news-0.5.0 lib/apple-news/metadata.rb
apple-news-0.4.2 lib/apple-news/metadata.rb
apple-news-0.4.1 lib/apple-news/metadata.rb
apple-news-0.4.0 lib/apple-news/metadata.rb