Sha256: 122b0b668eb7d4b520b6685bb3bb46066b4a913a9c1cd06e6ee1c757b37be27f

Contents?: true

Size: 635 Bytes

Versions: 6

Compression:

Stored size: 635 Bytes

Contents

module Smartsheet
  # Server Information Endpoints
  # @see https://smartsheet-platform.github.io/api-docs/?ruby#server-information API Server
  #   Information Docs
  class ServerInfo
    attr_reader :client
    private :client

    def initialize(client)
      @client = client
    end

    def get(params: {}, header_overrides: {})
      endpoint_spec = Smartsheet::API::EndpointSpec.new(:get, ['serverinfo'], no_auth: true)
      request_spec = Smartsheet::API::RequestSpec.new(
          params: params,
          header_overrides: header_overrides,
      )
      client.make_request(endpoint_spec, request_spec)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
smartsheet-2.101.1 lib/smartsheet/endpoints/server_info/server_info.rb
smartsheet-2.101.0 lib/smartsheet/endpoints/server_info/server_info.rb
smartsheet-2.86.1 lib/smartsheet/endpoints/server_info/server_info.rb
smartsheet-2.86.0 lib/smartsheet/endpoints/server_info/server_info.rb
smartsheet-2.77.2 lib/smartsheet/endpoints/server_info/server_info.rb
smartsheet-1.0.0 lib/smartsheet/endpoints/server_info/server_info.rb