Class: Ezid::IdentifierWithMetadataRequest Abstract Private

Inherits:
IdentifierRequest show all
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.

This class is abstract.

Constant Summary

Constants inherited from Request

Request::DELETE, Request::GET, Request::POST, Request::PUT

Instance Attribute Summary collapse

Attributes inherited from IdentifierRequest

#identifier

Attributes inherited from Request

#client

Instance Method Summary collapse

Methods inherited from IdentifierRequest

#path

Methods inherited from Request

#authentication_required?, #execute, execute, #handle_response, #has_metadata?, #path, #query, #response_class, 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

#metadataObject (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