update! raises an exception while update does not.

This commit is contained in:
nilsding 2014-12-27 17:37:54 +01:00
parent e789fb7e68
commit a487ed7f69

View file

@ -22,7 +22,7 @@ class Services::Twitter < Service
end
def post_tweet(answer)
client.update prepare_tweet(answer)
client.update! prepare_tweet(answer)
end
def prepare_tweet(answer)