Sha256: 09b8a69c4c6ddf09a5a8b6ca15fed04801d5352d05bbe7470b2dc55e6decd7b7
Contents?: true
Size: 634 Bytes
Versions: 2
Compression:
Stored size: 634 Bytes
Contents
module Smartsheet class DiscussionsAttachments attr_reader :client private :client def initialize(client) @client = client end def list(sheet_id:, discussion_id:, params: {}, header_overrides: {}) endpoint_spec = Smartsheet::API::EndpointSpec.new(:get, ['sheets', :sheet_id, 'discussions', :discussion_id, 'attachments']) request_spec = Smartsheet::API::RequestSpec.new( params: params, header_overrides: header_overrides, sheet_id: sheet_id, discussion_id: discussion_id ) 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/sheets/discussions_attachments.rb |
smartsheet-1.0.0.beta.0 | lib/smartsheet/endpoints/sheets/discussions_attachments.rb |