Class: Simsen::BulksmsCom
Overview
refer to bulksms.de/docs/eapi/submission/send_sms for more information
Constant Summary collapse
- API_URL =
API_URL: URL pointing to the sms gateway You can fall back to port 80 if you have firewall-related problems connecting to us but we recommend that you rather take the time to allow outgoing access to ports 5567 and 7512 via your firewall. refer to bulksms.de/docs/eapi/submission/faq
'http://bulksms.de:5567/eapi/submission/send_sms/2/2.0'
- @@dca =
'7bit'
- @@msg_class =
2
- @@test_always_fail =
1
- @@test_always_succeed =
1
- @@want_report =
1
Instance Attribute Summary
Attributes inherited from Base
#message, #phone_number, #status
Instance Method Summary collapse
Methods inherited from Base
new_sms, #password, #sender, #testmode, #testmode_strategy, #url, #username
Instance Method Details
#deliver ⇒ Object
50 51 52 |
# File 'lib/simsen/bulksms_com.rb', line 50 def deliver Curl.post(url, params_hash) if valid? end |