Sha256: 95b69eadd4065348461b48b7bd1b40d085cffb01742addbb9455900999eb7eda

Contents?: true

Size: 419 Bytes

Versions: 1

Compression:

Stored size: 419 Bytes

Contents

require 'apple-news/document/attachments'
require 'apple-news/document/metadata'
require 'apple-news/document/persistence'

module AppleNews
  class Document
    include Attachments
    include Metadata
    include Persistence
    include Resource

    attr_accessor :article, :metadata

    def initialize(article = nil, metadata = {})
      @article = article
      @metadata = {}
      @files = {}
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
apple-news-0.1.1 lib/apple-news/document.rb