Sha256: d0e91b38b7bd83971cc106803f348f0cbb5a9f4d236df38f0136f3b453abe889

Contents?: true

Size: 510 Bytes

Versions: 11

Compression:

Stored size: 510 Bytes

Contents

require 'bolognese'
require_relative 'api'
require_relative 'utils'
require_relative 'base'

module Cirneco
  class Work < Bolognese::Metadata
    include Cirneco::Base
    include Cirneco::Api
    include Cirneco::Utils

    attr_reader :media, :username, :password

    def initialize(input: nil, from: nil, **options)
      @media = options[:media]
      @username = options[:username]
      @password = options[:password]

      return super(input: input, from: from, doi: options[:doi])
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cirneco-0.9.27 lib/cirneco/work.rb
cirneco-0.9.26 lib/cirneco/work.rb
cirneco-0.9.25 lib/cirneco/work.rb
cirneco-0.9.24 lib/cirneco/work.rb
cirneco-0.9.23 lib/cirneco/work.rb
cirneco-0.9.22 lib/cirneco/work.rb
cirneco-0.9.21 lib/cirneco/work.rb
cirneco-0.9.20 lib/cirneco/work.rb
cirneco-0.9.19 lib/cirneco/work.rb
cirneco-0.9.18 lib/cirneco/work.rb
cirneco-0.9.17 lib/cirneco/work.rb