{"shas":[["ed39753cadb77640ae0e7bef05374f5523f257e2","1716ddb4d71ac77949c7a62e4d514beb4869b7d0@causes.com","Update session_key <-> access_token exchange\n\nThe new version of HTTParty (perhaps because of multi_json?) is wrapping a 1-key\nresponse in an array where before it wasn't. This updates the specs to match and\nmakes the mocked data look more like the `HTTParty::Response` it's emulating.\n\nI've also updated `#get_access_token_for_session_key` to use post without the\n`Mogli::Client` instance, since that's what Mike's preferred style seems to be\nin `#get_access_token_for_application` and the client offers nothing as a\nmiddleman.\n\nFuture work:\nThe `Mogli::Client#api_path` instance method should probably be a class method,\nas it doesn't rely on the state of an instance.","Kristján Pétursson"],["09d52bcd2636ea1ea8d76139fec01e3bf0bf3f2c","1716ddb4d71ac77949c7a62e4d514beb4869b7d0@causes.com","Use `#parsed_response` instead of `#to_s`\n\nThis makes more semantic sense and aligns `#get_access_token_for_application`\nwith `#get_access_token_for_session_key`, which can't use `#to_s` for its\nresults.","Kristján Pétursson"]],"ref":"refs/heads/master","size":2,"head":"09d52bcd2636ea1ea8d76139fec01e3bf0bf3f2c","push_id":43550846}