
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
A Ruby SDK for smsmanager.cz - Czech SMS provider.
gem install sms_manager
Or add to Gemfile:
gem 'sms_manager'
First you need to setup your credentials:
SmsManager.configure do |config|
config.username = YOUR_USERNAME
config.hashed_password = HASHED_PASSWORD
end
Create the password hash with SHA-1 in console and then put the string into the configuration block:
require 'digest/sha1'
Digest::SHA1.hexdigest 'password'
That's all. Now you can send SMS messages.
SmsManager.send number: '+420123456789', message: 'Hello!'
You can pass all the parameters available at SmsManager API. These additional parameters will be appended to the request:
SmsManager.send number: '+420123456789', message: 'Hello!', gateway: 'lowcost', time: '2013-01-01T23:59:59'
If the service fails an exception is raised:
begin
SmsManager.send number: '+420123456789', message: 'Hello!'
rescue SmsManager::Error => e
puts e.message # => Neplatný parametr gateway
end
Copyright (c) 2013 David Hrachovy See LICENSE for details.
FAQs
Unknown package
We found that sms_manager 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
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.