diff options
| author | Brendan G. Lim | 2009-02-18 20:12:33 -0500 | 
|---|---|---|
| committer | Brendan G. Lim | 2009-02-18 20:12:33 -0500 | 
| commit | 4c1b777458b90de5d7c01cf7d14ef0be2fdcc4e6 (patch) | |
| tree | 768549d808321dccce5fc24d02570c3189f5b6a4 /README.rdoc | |
| parent | 0d804bdd6e48aa3eae548665c4740b2e2d4e3b86 (diff) | |
| download | sms-fu-4c1b777458b90de5d7c01cf7d14ef0be2fdcc4e6.tar.bz2 | |
Adding in some view helpers for mobile carrier select boxes and updating README
Diffstat (limited to 'README.rdoc')
| -rw-r--r-- | README.rdoc | 20 | 
1 files changed, 17 insertions, 3 deletions
| diff --git a/README.rdoc b/README.rdoc index 08680cd..5355cbc 100644 --- a/README.rdoc +++ b/README.rdoc @@ -7,9 +7,10 @@ of the supported carriers.  == Supported Carriers (US & International):   Alltel, Ameritech, AT&T, BellSouth Mobility, BlueSkyFrog, Boost Mobile, Cellular South,  -E-Plus, Fido, kajeet, Metro PCS, Powertel, PSC Wireless, Qwest, Southern Link, Sprint,  -Suncom, T-Mobile (US/UK/Germany), Telefonica, Virgin Mobile, Verizon Wireless,  -Vodafone (UK,Italy,Japan, Spain) +Du, E-Plus, Etisalat, Fido, kajeet, Mobinil, Mobitel, Movistar, Metro PCS, Powertel,  +PSC Wireless, Qwest,  Rogers, Southern Link,  Sprint, Suncom, T-Mobile (US/UK/Germany),  +Telefonica, Virgin Mobile,  Verizon Wireless, Vodafone (UK, Egypt, Italy, Japan, Spain), +and many more ...  == Setup Instructions @@ -60,5 +61,18 @@ That's it!  Now you're good to go.      get_sms_address("5558675309","at&t") # => "5558675309@txt.att.net" +== View Helpers + +* Retrieve a collection of all carriers + +    <%= carrier_collection %> + +* Display a select box with mobile carriers + +    <%= carrier_select %> +     +* Display a custom select box with mobile carriers + +    <%= carrier_select('user[carrier_name]', "Please choose a carrier") %>  Copyright (c) 2008 Brendan G. Lim, Intridea, Inc., released under the MIT license | 
