{"action":"closed","issue":{"url":"https://api.github.com/repos/rubytaiwan/AMA/issues/24","labels_url":"https://api.github.com/repos/rubytaiwan/AMA/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/rubytaiwan/AMA/issues/24/comments","events_url":"https://api.github.com/repos/rubytaiwan/AMA/issues/24/events","html_url":"https://github.com/rubytaiwan/AMA/issues/24","id":109221344,"number":24,"title":"共用method應該寫在哪裡","user":{"login":"koei1025","id":12932473,"avatar_url":"https://avatars.githubusercontent.com/u/12932473?v=3","gravatar_id":"","url":"https://api.github.com/users/koei1025","html_url":"https://github.com/koei1025","followers_url":"https://api.github.com/users/koei1025/followers","following_url":"https://api.github.com/users/koei1025/following{/other_user}","gists_url":"https://api.github.com/users/koei1025/gists{/gist_id}","starred_url":"https://api.github.com/users/koei1025/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koei1025/subscriptions","organizations_url":"https://api.github.com/users/koei1025/orgs","repos_url":"https://api.github.com/users/koei1025/repos","events_url":"https://api.github.com/users/koei1025/events{/privacy}","received_events_url":"https://api.github.com/users/koei1025/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-01T03:19:01Z","updated_at":"2015-10-01T03:47:37Z","closed_at":"2015-10-01T03:47:37Z","body":"我有多個Background Job，分別處理不同的工作，但是在工作處理完成後都會回傳處理結果，所以我就想要寫一個共用method，讓各個Job可以呼叫同一個method，但是我想不出來可以寫在哪？寫在application_controller似乎不是很好，請問有人可以提點一下嗎？謝謝"}}