Sha256: fb03f76317495b5ed8540a8268e2a412987010bf8faa279609b586a9d28da65e

Contents?: true

Size: 294 Bytes

Versions: 24

Compression:

Stored size: 294 Bytes

Contents

require_relative "request"

module Ezid
  #
  # @abstract
  # @api private
  #
  class IdentifierRequest < Request

    attr_reader :identifier

    def initialize(client, identifier)
      @identifier = identifier
      super
    end

    def path
      "/id/#{identifier}"
    end

  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
ezid-client-1.0.1 lib/ezid/requests/identifier_request.rb
ezid-client-1.0.0 lib/ezid/requests/identifier_request.rb
ezid-client-0.13.0 lib/ezid/requests/identifier_request.rb
ezid-client-0.12.0 lib/ezid/requests/identifier_request.rb