mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-20 18:50:00 +01:00
update! raises an exception while update does not.
This commit is contained in:
parent
e789fb7e68
commit
a487ed7f69
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class Services::Twitter < Service
|
||||||
end
|
end
|
||||||
|
|
||||||
def post_tweet(answer)
|
def post_tweet(answer)
|
||||||
client.update prepare_tweet(answer)
|
client.update! prepare_tweet(answer)
|
||||||
end
|
end
|
||||||
|
|
||||||
def prepare_tweet(answer)
|
def prepare_tweet(answer)
|
||||||
|
|
Loading…
Reference in a new issue