Sha256: 904eb595d7d0a342fefd2306fd07fda5e7a3ed4888e6e7d2bd3b6e8441b76611
Contents?: true
Size: 270 Bytes
Versions: 18
Compression:
Stored size: 270 Bytes
Contents
twitter_username = fetch(:twitter_username) { "dorianmariefr" } Twitter.search("to:{twitter_username}", type: :recent).each do |tweet| next if Storage.exists?(tweet.id) Storage.create!(tweet.id) Sms.send("New mention: {tweet.user.screen_name}: {tweet.text}") end
Version data entries
18 entries across 18 versions & 2 rubygems