Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rsporteman/a24f47515712c0f680585be56f0054e6 to your computer and use it in GitHub Desktop.
Save rsporteman/a24f47515712c0f680585be56f0054e6 to your computer and use it in GitHub Desktop.
get ':role/contract/:contract_id', to: 'contracts#get_contract_by_id' #ok
get ':role/contracts', to: 'contracts#gets_all_contracts' #ok
get ':role/company/contracts/:company_id', to: 'contracts#get_contract_by_company_id' #ok
get ':role/endorsement/contracts/:endorsement_id', to: 'contracts#get_all_contracts_by_endorsement_id' #ok
post 'operator/contracts/read_contract_data_from_excel', to: 'contracts#read_contract_data_from_excel' #ok
get ':role/contract/:contract_id/current_hiring_flow', to: 'contract_quotes#get_current_hiring_flow'
post ':role/proposal/:contract_quote_id/create', to: 'proposals#create_proposal'
post ':role/proposal/:contract_quote_id/download', to: 'proposals#download'
post ':role/endorsement/:proposal_id/create_internal', to: 'endorsements#create_internal_endorsement'
post ':role/endorsement/:endorsement_id/upload_file', to: 'endorsements#attach_endorsement_file'
post ':role/endorsement/:company_id/create_external_umbrella_policy', to: 'endorsements#create_external_umbrella_policy'
get ':role/endorsements/:company_id/show_external', to: 'endorsements#get_all_external_endorsements'
put 'operator/endorsement/:endorsement_id', to: 'endorsements#operator_update_endorsement'
put 'operator/endorsement/:endorsement_id/evaluate_endorsement', to: 'endorsements#operator_evaluate_endorsement'
delete 'operator/endorsement/:endorsement_id/delete_file', to: 'endorsements#operator_delete_endorsement_file'
delete 'operator/endorsement/:endorsement_id/delete_external_endorsement', to: 'endorsements#operator_delete_external_endorsement'
get 'operator/companies', to: 'companies#operator_gets_all_companies'
get 'operator/company', to: 'companies#operator_get_company_by_cnpj'
get 'file_sharing/download', to: 'file_sharing#download_file'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment