class Ezid::ServerStatusResponse
A response to an EZID status request @api private
Constants
- SUBSYSTEMS
Public Instance Methods
subsystems()
click to toggle source
# File lib/ezid/responses/server_status_response.rb, line 16 def subsystems return {} unless content[1] content[1].split(/\r?\n/).each_with_object({}) do |line, memo| subsystem, status = line.split(": ", 2) memo[subsystem] = status end end
up?()
click to toggle source
# File lib/ezid/responses/server_status_response.rb, line 24 def up? success? end