
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
gem install 'exetel_sms'
require 'exetel_sms' config = ExetelSms::Config.new('username', 'password') sender = ExetelSms::Sender.new(config) result = sender.send( 'destination mobile number', 'message', 'from string', sender.class.new_reference_number('application_identifier') ) if result.success? puts "Message sent successfully!" else puts "Error sending message: #{result[:notes]}" end
retriever = ExetelSms::Retriever.new(config) result = retriever.check_sent('reference_number') result[:message_status] => 'Sent'
receiver = ExetelSms::Receiver.new(config) if result = receiver.receive('my virtual mobile number') puts "Received from #{result[:from_mobile_number]}: #{result[:message]}" end
Then you can delete the messages with ExetelSms::Deleter
checker = ExetelSms::CreditCheck.new(config) if result = checker.get_credit_limit puts "Credit limit is #{result[:limit]}" end
good = ExetelSms::Client.with_test_api { retriever.check_sent('1') } good[:message_status] # => 'Delivered'
bad = ExetelSms::Client.with_test_api(:fail) { retriever.check_sent('1') } bad[:message_status] # => 'Failed'
Sent messages end up in ExetelSms::Client.sent_messages array. See test/ for more examples.
Andrew Snow andrew@modulus.org Andys^ on irc.freenode.net @andy_snow on Twitter
FAQs
Unknown package
We found that exetel_sms demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.