Sha256: 52be95e2bd2608c54e4f8df81ae50203baebb216f1f77cfee26c2f5cad7beee3

Contents?: true

Size: 560 Bytes

Versions: 6

Compression:

Stored size: 560 Bytes

Contents

module Smartsheet
  # Home Endpoints
  # @see https://smartsheet-platform.github.io/api-docs/?ruby#home API Home Docs
  class Home
    attr_reader :client
    private :client

    def initialize(client)
      @client = client
    end

    def list(params: {}, header_overrides: {})
      endpoint_spec = Smartsheet::API::EndpointSpec.new(:get, ['home'])
      request_spec = Smartsheet::API::RequestSpec.new(
          header_overrides: header_overrides,
          params: params
      )
      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/home/home.rb
smartsheet-2.101.0 lib/smartsheet/endpoints/home/home.rb
smartsheet-2.86.1 lib/smartsheet/endpoints/home/home.rb
smartsheet-2.86.0 lib/smartsheet/endpoints/home/home.rb
smartsheet-2.77.2 lib/smartsheet/endpoints/home/home.rb
smartsheet-1.0.0 lib/smartsheet/endpoints/home/home.rb