Method: Buff::Client::Update#modify_update_text
- Defined in:
- lib/buff/update.rb
#modify_update_text(update_id, options = {}) ⇒ Object
63 64 65 66 67 68 |
# File 'lib/buff/update.rb', line 63 def modify_update_text(update_id, ={}) # text, (now, media, utc) .fetch(:text) { raise ArgumentError } response = post("/updates/#{update_id}/update.json", ) Hashie::Mash.new(JSON.parse response.body) end |