Class: Ezid::ServerStatusRequest Private

Inherits:
Request
  • Object
show all
Defined in:
lib/ezid/requests/server_status_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.

A request for the EZID server status

Constant Summary

Constants inherited from Request

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

Instance Attribute Summary collapse

Attributes inherited from Request

#client

Instance Method Summary collapse

Methods inherited from Request

execute, #execute, #handle_response, #has_metadata?, #path, #response_class, short_name, #uri

Constructor Details

#initialize(client, *args) ⇒ ServerStatusRequest

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 ServerStatusRequest.



17
18
19
20
# File 'lib/ezid/requests/server_status_request.rb', line 17

def initialize(client, *args)
  @subsystems = args
  super
end

Instance Attribute Details

#subsystemsObject (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.



15
16
17
# File 'lib/ezid/requests/server_status_request.rb', line 15

def subsystems
  @subsystems
end

Instance Method Details

#authentication_required?Boolean

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:

  • (Boolean)


26
27
28
# File 'lib/ezid/requests/server_status_request.rb', line 26

def authentication_required?
  false
end

#queryObject

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.



22
23
24
# File 'lib/ezid/requests/server_status_request.rb', line 22

def query
  "subsystems=#{subsystems.join(',')}"
end