added readme example for sending message

master
Tomtom 2012-06-21 23:09:20 +02:00
parent e3fc62c7dd
commit c8bd2145c8
1 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,10 @@ Or install it yourself as:
puts sms puts sms
end end
# method to send sms
sms = Biju::Sms.new(:phone_number => '+3312345678', :message => 'hello world')
@modem.send(sms)
@modem.close @modem.close
``` ```
## TODO ## TODO