Sha256: d38cea9bf456d50a03f715dce61295f3e527a309937af49deeae8484e2d5e8c3
Contents?: true
Size: 331 Bytes
Versions: 9
Compression:
Stored size: 331 Bytes
Contents
class SlackSmartBot def update(channel, ts, text) result = true begin resp = client.web_client.chat_update(channel: channel, as_user: true, ts: ts, text: text) result = resp.ok.to_s == 'true' rescue Exception => exc result = false @logger.fatal exc.inspect end return result end end
Version data entries
9 entries across 9 versions & 1 rubygems