機能 #1140 » 0001-update_profile_spell.patch
core/plugin/twitter/twitter.rb | ||
---|---|---|
twitter.search(**options)
|
||
end
|
||
defspell(:update_profile_name, :twitter) do |twitter, name:|
|
||
(twitter/'account/update_profile').json(name: name)
|
||
end
|
||
defspell(:update_profile_location, :twitter) do |twitter, location:|
|
||
(twitter/'account/update_profile').json(location: location)
|
||
end
|
||
defspell(:update_profile_url, :twitter) do |twitter, url:|
|
||
(twitter/'account/update_profile').json(url: url)
|
||
end
|
||
defspell(:update_profile_biography, :twitter) do |twitter, biography:|
|
||
(twitter/'account/update_profile').json(description: biography)
|
||
end
|
||
defspell(:update_profile_icon, :twitter) do |twitter, icon:|
|
||
(twitter/'account/update_profile_image').json(image: icon)
|
||
end
|
||
# リツイートを削除した時、ちゃんとリツイートリストからそれを削除する
|
||
on_destroyed do |messages|
|
||
messages.each{ |message|
|