
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
A Ruby interface to the MobilePronto SMS gateway API. Please note: this gem is a proxy to MobiePronto SMS gateway, to use it you should get your credentials with the service of MobilePronto, not responsible at any time by the service offered by MobilePronto.
Download the latest version of gem or install using RubyGems.
$ sudo gem install mobilepronto
$ git clone git://github.com/nuxlli/mobilepronto.git
To use this gem, you will need sign up for an account at the MobilePronto website. Once you are registered and logged into your account centre, you should add an HTTP API connection to your account. This will give you your CREDENCIAL.
require 'mobilepronto'
# Configure default values
MobilePronto.configure do |config|
# Default api url
# config.url_api = "http://www.mpgateway.com/v_2_00/smspush/enviasms.aspx"
config.credencial = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
config.project_name = "MYPROJECT"
config.send_project = true
end
sms = {
:mobile => 552199999999,
:user_name => "MYUSER",
:message => "Mensagem de test"
}
# Using blocks to analyze the result
MobilePronto.send_sms(sms) do |result|
result.on(:ok) { puts "Mensagem sendend..." }
result.on(1..999) { puts "Ops: #{result.error.message}"}
end
# Or begin/rescue
begin
MobilePronto.send_sms(sms)
rescue MobilePronto::SendError => e
puts "Ops: #{e.message}"
end
http://www.mobilepronto.info/samples/en-US/1205-httpget-php-v_2_00.pdf
MobilePronto is licensed under the BSD License.
See LICENSE file for details.
FAQs
Unknown package
We found that mobilepronto 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.