Sha256: 8a2726edb16b35f099093002548f08a917003875f4518df165de919740358a25

Contents?: true

Size: 460 Bytes

Versions: 2

Compression:

Stored size: 460 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

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