yammer/sched.do — pull request #212 by adarshpandit (2012-11-27 22:22:13+00:00)
Title: Extract ActivityCreator into ActivityCreatorJob

* Configure `yam` gem to fix exceptions
* Use job-specific class format to conform to existing pattern
* Extract intention-revealing methods
* Extract json_payload method
* Add error handling to ActivityCreatorJob if the post fails
* Log error and expire token if post errors
* Convert Event to use new job
* Move call to create Activity Message from `User`/`Guest` to `VoteCreatedJob`
* Remove `create_yammer_activity` from `User` and `Guest`
* Remove unused `no_recent_votes` method
* Add class-level comment

* Fix indentation in `YammerGroupInvitationsController`
* Use parentheses in method calls
* Move error method to end of `VoteCreatedJob`