Sha256: 89b009531579a3c5ce5d6391ffd4cfa3bcbda195a635001a5e8ee1b3a19ca848
Contents?: true
Size: 630 Bytes
Versions: 18
Compression:
Stored size: 630 Bytes
Contents
require_relative "request" require_relative "../metadata" require_relative "../responses/mint_identifier_response" module Ezid # # A request to EZID to mint a new identifier # @api private # @see http://ezid.cdlib.org/doc/apidoc.html#operation-modify-identifier # class MintIdentifierRequest < Request self.http_method = POST self.response_class = MintIdentifierResponse attr_reader :shoulder, :metadata def initialize(client, shoulder, metadata) @shoulder = shoulder @metadata = Metadata.new(metadata) super end def path "/shoulder/#{shoulder}" end end end
Version data entries
18 entries across 18 versions & 1 rubygems