Pipedrive: extract methods in service
This commit is contained in:
parent
b7d31aac96
commit
ec3d558af0
3 changed files with 43 additions and 37 deletions
|
@ -3,3 +3,6 @@ if Rails.env.production?
|
|||
else
|
||||
API_ENTREPRISE_URL = 'https://staging.entreprise.api.gouv.fr/v2'
|
||||
end
|
||||
|
||||
PIPEDRIVE_API_URL = 'https://api.pipedrive.com/v1/'
|
||||
PIPEDRIVE_PEOPLE_URL = URI.join(PIPEDRIVE_API_URL, 'persons').to_s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue