Sha256: 59c9daac402414a5aad298bdd1aafea324fbe3a3586980576368a89d3d0459fb

Contents?: true

Size: 540 Bytes

Versions: 24

Compression:

Stored size: 540 Bytes

Contents

require_relative "request"
require_relative "../responses/server_status_response"

module Ezid
  #
  # A request for the EZID server status
  # @api private
  #
  class ServerStatusRequest < Request

    self.http_method = GET
    self.path = "/status"
    self.response_class = ServerStatusResponse

    attr_reader :subsystems

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

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

    def authentication_required?
      false
    end

  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
ezid-client-1.10.0 lib/ezid/requests/server_status_request.rb
ezid-client-1.9.4 lib/ezid/requests/server_status_request.rb
ezid-client-1.9.3 lib/ezid/requests/server_status_request.rb
ezid-client-1.9.2 lib/ezid/requests/server_status_request.rb
ezid-client-1.9.1 lib/ezid/requests/server_status_request.rb
ezid-client-1.9.0 lib/ezid/requests/server_status_request.rb
ezid-client-1.9.0.rc1 lib/ezid/requests/server_status_request.rb
ezid-client-1.8.0 lib/ezid/requests/server_status_request.rb
ezid-client-1.7.1 lib/ezid/requests/server_status_request.rb
ezid-client-1.7.0 lib/ezid/requests/server_status_request.rb
ezid-client-1.6.0 lib/ezid/requests/server_status_request.rb
ezid-client-1.5.0 lib/ezid/requests/server_status_request.rb
ezid-client-1.4.3 lib/ezid/requests/server_status_request.rb
ezid-client-1.4.2 lib/ezid/requests/server_status_request.rb
ezid-client-1.4.1 lib/ezid/requests/server_status_request.rb
ezid-client-1.4.0 lib/ezid/requests/server_status_request.rb
ezid-client-1.3.0 lib/ezid/requests/server_status_request.rb
ezid-client-1.2.0 lib/ezid/requests/server_status_request.rb
ezid-client-1.1.1 lib/ezid/requests/server_status_request.rb
ezid-client-1.1.0 lib/ezid/requests/server_status_request.rb