Commit faba786b authored by Andi Saurer's avatar Andi Saurer

added usage to readme

parent eebffe72
# ShortMessage
## Installation
# ShortMessage #
## Installation ##
Add it to your Gemfile:
......@@ -23,3 +23,10 @@ And rake the migrations:
```console
rake db:migrate
```
## Usage ##
Create a message and deliver it:
```ruby
@sms = ShortMessage::Message.new(:sender => "0041791234567", :recipient => "0041799876543", :text => "Hello World!")
@sms.deliver
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment