yammer/sched.do — pull request #235 by adarshpandit (2012-12-04 19:02:00+00:00)
Title: Send ActivityMessage after inviting someone

* Create `ActivityCreatorJob` for creator on `Invitation.create`
* Use existing after_create hook to enqueue the job
* Rename `InvitationCreatedJob` > `InvitationCreatedMessageJob`
* Rename `Invitation#create` callback to to accomodate more jobs
* Add check for existing sender before queueing activity message job
* Extract single-responsibility methods for new jobs
* Rename files to match class names

Minor fixes:
* InvitationCreatedJob.enqueue did not have an adequate test
* Move action method from Invitation onto job
* Use `build_stubbed` where possible

Style:
* Break long lines at parentheses if over 80 chars
* Move `error` method to last public spot