update! raises an exception while update does not.
This commit is contained in:
parent
e789fb7e68
commit
a487ed7f69
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue