{"push_id":1118160038,"size":1,"distinct_size":1,"ref":"refs/heads/ds-concurrent-survey-process","head":"efd2d144e8a5644a985211958b583de5b6ed65f5","before":"cb5f8c175ee13ef57360db3a19136b8bae9e9390","commits":[{"sha":"efd2d144e8a5644a985211958b583de5b6ed65f5","author":{"email":"1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@diegoserranoa.com","name":"Diego Serrano"},"message":"Concurrent Survey Process\n\nAdds funcionality for CSP\n\nhttps://trello.com/c/zgCyUiHl/204-3-concurrent-survey-process-step-3-ios-sdk\n\nThis commit:\n\n- Includes end_user_id, user_id and unique_link on requests to responses and\ndecline\n- Creates unique_link algorithm to be a SHA256 hash of NPS token,\nend_user_email, date and a random string\n- Adds priority number to responses and declines\n- Adds WTRApiClientTests to test CSP changes\n\nCode needed a refactor to make it more testable. I've focused on testing\nthe parts that involved CSP changes. There is still more testing to be\ndone but I prefered to leave that for another PR, atomic commits.\n\nOne thing I did include in this commit was changing identation of\nViewController.m and WTRApiClient.m from 4 spaces to 2. This is\nand inconsistency throughout the project. I decided to settle for\n2 spaces but haven't changed other files that use 4. Again, I'm\nplanning on doing this in a separate PR.","distinct":true,"url":"https://api.github.com/repos/Wootric/WootricSDK-iOS/commits/efd2d144e8a5644a985211958b583de5b6ed65f5"}]}