Sha256: f0b3c06c553e009512817c8b718138c973eaaff95f2f91342279f6ae7b8b8da6

Contents?: true

Size: 658 Bytes

Versions: 1

Compression:

Stored size: 658 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, :video_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'
    property_inflection :video_url, 'videoURL'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
apple-news-0.5.1 lib/apple-news/metadata.rb