Sha256: 83d155ec4b3db8814014d361da76266a135ff5d33a1d49fb49722cfb95853576
Contents?: true
Size: 634 Bytes
Versions: 6
Compression:
Stored size: 634 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
6 entries across 6 versions & 1 rubygems