Open Source SMS Library for Ruby »
By admin on May 27, 2010 in open source, Ruby | Comments Off on Open Source SMS Library for Ruby
RubyGSM is a Ruby library which uses ruby-serialport to provide a nifty interface to send and receive SMS messages via a GSM modem. Sample usage: 1: class ReverseApp 2: def initialize(gsm) 3: gsm.receive(method(:incoming)) 4: @gsm = gsm 5: end 6: 7: def incoming(from, datetime, message) 8: @gsm.send(from, message.reverse) 9: end 10: end 11: 12: gsm […]