Sha256: b8cfb3e91dcd3a9aaff27ae6be64183348759047f5f1984138f0e57a9a811061

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

require 'stringio'

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.0 lib/apple-news/document.rb