Sha256: 5a3d96e533fb5077e8de19e6e851df75b4ecf9e044b73b9d1ed6e63c43fe3a92

Contents?: true

Size: 487 Bytes

Versions: 2

Compression:

Stored size: 487 Bytes

Contents

module Smartsheet
  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

2 entries across 2 versions & 1 rubygems

Version Path
smartsheet-1.0.0.beta.2 lib/smartsheet/endpoints/server_info/server_info.rb
smartsheet-1.0.0.beta.0 lib/smartsheet/endpoints/server_info/server_info.rb