Also, unless you're on Edge rails you can install SMS Fu by doing the following below:
git clone git://github.com/brendanlim/sms-fu.git vendor/plugins/sms_fu
git clone git://github.com/brendanlim/sms-fu.git vendor/plugins/sms_fu
script/plugin install http://sms-fu.googlecode.com/svn/trunk/sms_fuBe cool and grab the latest through GitHub:
git clone git://github.com/brendanlim/sms-fu.git vendor/plugins/sms_fu
git clone git://github.com/brendanlim/sms-fu.git vendor/plugins/sms_fu
class ExampleController < ApplicationController
include SMSFu
end
After this, just edit /config/sms_fu.yml with your custom reply-to address.
deliver_sms("5558675309","AT&T","your message here")
deliver_sms("5558675309","AT&T","your message here", :limit => 200)
get_sms_address("5558675309","AT&T")
script/plugin install http://acts-as-tiny-url.googlecode.com/svn/trunk/acts_as_tiny_url
class ApplicationController < ActionController::Base include ActsAsTinyURL end
tiny_url("http://brendanlim.com") # => http://tinyurl.com/3274fk