Sha256: d7af24931fc37f46ba46a2c4ac0f707218f40235f88f694c1576e37a8716a5b7

Contents?: true

Size: 510 Bytes

Versions: 2

Compression:

Stored size: 510 Bytes

Contents

module Rundeck
  class Client
    # Defines methods related to projects.
    module SystemInfo
      # Get the complete system info
      #
      # @see http://rundeck.org/docs/api/index.html#system-info
      #   Rundeck API documentation for 'GET /api/12/system/info' endpoint
      #
      # @example
      #   Rundeck.system_info
      #
      # @return [Rundeck::ObjectifiedHash]
      # @!macro exceptions
      def system_info
        objectify get('/system/info')['system']
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rundeck-1.2.1 lib/rundeck/client/system_info.rb
rundeck-1.2.0 lib/rundeck/client/system_info.rb