coolsms REST API helper, coolsms ruby client
MIT License
coolsms Rest API helper
Add this line to your application's Gemfile:
gem 'coolsms'
And then execute:
$ bundle
Or install it yourself as:
$ gem install coolsms
Test
$ ruby test/coolsms_test.rb -v
ENV['COOLSMS_KEY']
and ENV['COOLSMS_SECRET_KEY']
COOLSMS_SEND = Coolsms::SMS::Send.new( { options } )
COOLSMS_SEND.send( from, to, text)
COOLSMS_SEND.set_field( { options} )
Options
Methods
COOLSMS_BALANCE = Coolsms::SMS::Balance.new
COOLSMS_BALANCE.balance
COOLSMS_STATUS = Coolsms::SMS::Status.new( options )
COOLSMS_STATUS.status
Options
Methods
COOLSMS_SENT = Coolsms::SMS::Sent.new( options )
COOLSMS_SENT.sent
Options
Methods
COOLSMS_CANCEL = Coolsms::SMS::Cancel.new( options )
COOLSMS_CANCEL.cancel
Options
Methods
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)