From c8bd2145c8a6e49db5319244911a44a7713aeaf4 Mon Sep 17 00:00:00 2001 From: Tomtom Date: Thu, 21 Jun 2012 23:09:20 +0200 Subject: [PATCH] added readme example for sending message --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 4c76c94..488d628 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,10 @@ Or install it yourself as: puts sms end +# method to send sms +sms = Biju::Sms.new(:phone_number => '+3312345678', :message => 'hello world') +@modem.send(sms) + @modem.close ``` ## TODO