Sha256: 4262c54eab2cefec5a8868bb162fc7560a69d3cf82302619919b0e9891bc3863
Contents?: true
Size: 924 Bytes
Versions: 6
Compression:
Stored size: 924 Bytes
Contents
module Smartsheet # Templates Endpoints # @see https://smartsheet-platform.github.io/api-docs/?ruby#templates API Templates Docs class Templates attr_reader :client private :client def initialize(client) @client = client end def list_public(params: {}, header_overrides: {}) endpoint_spec = Smartsheet::API::EndpointSpec.new(:get, ['templates', 'public']) request_spec = Smartsheet::API::RequestSpec.new( header_overrides: header_overrides, params: params ) client.make_request(endpoint_spec, request_spec) end def list(params: {}, header_overrides: {}) endpoint_spec = Smartsheet::API::EndpointSpec.new(:get, ['templates']) 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