Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

Job Api #2

Merged
merged 3 commits into from
Apr 19, 2017
Merged

Job Api #2

merged 3 commits into from
Apr 19, 2017

Conversation

edelprino
Copy link
Contributor

No description provided.

* @param array $job
* @return array
*/
public function updateJob($customerId, array $job)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

può aver senso essere più espliciti e passare una cosa tipo

public function updateJob($customerId, $jobId, array $job)

che ne pensi?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sì, effettivamente sull'update del job passare l'id come argomento in modo da renderlo più esplicito mi piace. 👍

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ho visto nelle altre PR che sei stato coerente, quindi se tiriamo fuori l'id in questa chiamata andrebbe fatto anche per le altre simili... le altre sdk che approccio hanno tenuto?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Le altre SDK non hanno estratto l'id. Però preferirei continuare a passarlo come argomento. Te che dici?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants