Sha256: bc173454d25253ec09f418ea03cffdb982b06e7877329a91844d5868b5051ce0

Contents?: true

Size: 523 Bytes

Versions: 1

Compression:

Stored size: 523 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, format: 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

1 entries across 1 versions & 1 rubygems

Version Path
cirneco-0.9.13 lib/cirneco/work.rb