Sha256: 37a1048ea4550db86c03048deebeb339f6d0ffb30dff543824e5acb3edcd067f

Contents?: true

Size: 580 Bytes

Versions: 5

Compression:

Stored size: 580 Bytes

Contents

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

    def initialize(client)
      @client = client
    end
  
    def get(params: {}, header_overrides: {})
      endpoint_spec = Smartsheet::API::EndpointSpec.new(:get, ['events'])
      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

5 entries across 5 versions & 1 rubygems

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