Class: Ezid::IdentifierWithMetadataRequest Abstract Private
- Inherits:
-
IdentifierRequest
- Object
- SimpleDelegator
- Request
- IdentifierRequest
- Ezid::IdentifierWithMetadataRequest
- Defined in:
- lib/ezid/requests/identifier_with_metadata_request.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.
Direct Known Subclasses
Constant Summary
Constants inherited from Request
Request::DELETE, Request::GET, Request::POST, Request::PUT, Request::RETRIABLE_SERVER_ERRORS, Request::RETRIES
Instance Attribute Summary collapse
- #metadata ⇒ Object readonly private
Attributes inherited from IdentifierRequest
Attributes inherited from Request
Instance Method Summary collapse
-
#initialize(client, identifier, metadata) ⇒ IdentifierWithMetadataRequest
constructor
private
A new instance of IdentifierWithMetadataRequest.
Methods inherited from IdentifierRequest
Methods inherited from Request
#authentication_required?, #execute, execute, #handle_response, #has_metadata?, #path, #query, #response_class, #short_name, short_name, #uri
Constructor Details
#initialize(client, identifier, metadata) ⇒ IdentifierWithMetadataRequest
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.
Returns a new instance of IdentifierWithMetadataRequest.
12 13 14 15 |
# File 'lib/ezid/requests/identifier_with_metadata_request.rb', line 12 def initialize(client, identifier, ) @metadata = Metadata.new() super(client, identifier) end |
Instance Attribute Details
#metadata ⇒ Object (readonly)
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.
10 11 12 |
# File 'lib/ezid/requests/identifier_with_metadata_request.rb', line 10 def @metadata end |