Class: Ezid::NewIdentifierResponse Private
- Inherits:
-
IdentifierResponse
- Object
- SimpleDelegator
- Response
- IdentifierResponse
- Ezid::NewIdentifierResponse
- Defined in:
- lib/ezid/responses/new_identifier_response.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
A response to a mint or create request to make a new identifier in EZID
Direct Known Subclasses
Constant Summary collapse
- SHADOW_ARK_RE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
/\| (ark:[^\s]+)/
Constants inherited from IdentifierResponse
IdentifierResponse::IDENTIFIER_RE
Constants inherited from Response
Response::ERROR, Response::SUCCESS
Instance Method Summary collapse
- #shadow_ark ⇒ Object private
Methods inherited from IdentifierResponse
Methods inherited from Response
#content, #error?, #error_class, #exception, #initialize, #message, #outcome, #status, #status_line, #success?, #uri_path
Constructor Details
This class inherits a constructor from Ezid::Response
Instance Method Details
#shadow_ark ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
12 13 14 |
# File 'lib/ezid/responses/new_identifier_response.rb', line 12 def shadow_ark @shadow_ark ||= SHADOW_ARK_RE.match()[1] end |