Method: FileboundClient::Endpoints::Documents#document_comments

Defined in:
lib/filebound_client/endpoints/documents.rb

#document_comments(document_id, query_params = nil) ⇒ Object

Returns the document comments for the supplied document key

Parameters:

  • document_id (int)

    the document key

  • query_params (Hash) (defaults to: nil)

    the additional query params to send in the request



104
105
106
# File 'lib/filebound_client/endpoints/documents.rb', line 104

def document_comments(document_id, query_params = nil)
  get("/documents/#{document_id}/comments", query_params)
end