Method: DocSpring::PDFApi#list_templates

Defined in:
lib/docspring/api/pdf_api.rb

#list_templates(opts = {}) ⇒ Array<Template>

Get a list of all templates

Parameters:

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :query (String)

    Search By Name

  • :parent_folder_id (String)

    Filter By Folder Id

  • :page (Integer)

    Default: 1

  • :per_page (Integer)

    Default: 50

Returns:



1138
1139
1140
1141
# File 'lib/docspring/api/pdf_api.rb', line 1138

def list_templates(opts = {})
  data, _status_code, _headers = list_templates_with_http_info(opts)
  data
end