Method: FileboundClient::Endpoints::Routes#route_document_to_workflow
- Defined in:
- lib/filebound_client/endpoints/routes.rb
#route_document_to_workflow(route_id, document_id, notes) ⇒ RoutedItem
Routes a document to the start of a workflow
25 26 27 28 29 |
# File 'lib/filebound_client/endpoints/routes.rb', line 25 def route_document_to_workflow(route_id, document_id, notes) params = { documentId: document_id } params[:notes] = notes if notes put("/routes/#{route_id}", params, nil) end |