TWW Ruby¶ ↑
Download and Install¶ ↑
gem install tww-ruby
or on your Gemfile:
gem "tww-ruby"
and
bundle install
create tww config initializer
rails g tww:install
after config file created, you should define config params:
require 'tww' Tww.configure do |config| config.numUser = 'YOUR TWW NUMBER USER' config.password = 'YOUR TWW PASSWORD' end
Usage¶ ↑
require 'tww' # Sending a SMS sms = Tww::Sms.new('you-id', 'test message!', 5521999999999) sms.forward =>
Contributing to tww-ruby¶ ↑
-
Fork the project.
-
Start a feature/bugfix branch.
-
Commit and push until you are happy with your contribution.
-
Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
Copyright © 2012 ARAAN BRANCO. See LICENSE.txt for further details.