Sha256: e1c1f0eae971e5e7e2546fefdbf80997c49f9ff5c668b5bdb46380fd67f79b86

Contents?: true

Size: 284 Bytes

Versions: 2

Compression:

Stored size: 284 Bytes

Contents

# frozen_string_literal: true

module Cinii
  class Item
    class Author < Base
      attr_reader :description, :subject

      def initialize(item)
        @description = item['description']
        @subject     = item['dc:subject']

        super(item)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cinii-0.1.1 lib/cinii/item/author.rb
cinii-0.1.0 lib/cinii/item/author.rb