
Security News
Oxlint Introduces Type-Aware Linting Preview
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
#e_pochta This is an API wrapper for online SMS and Email service E-pochta and it's API v3.0. You can read about this API [here (russian)] (http://www.epochta.ru/products/sms/v3.php)
##Usage
# provide your user keys
epochta = EPochtaService::EPochtaSMS.new(:private_key => 'your_private_key', :public_key => 'your_public_key')
# send sms
result = epochta.send_sms({
# read the api to provide correct arguments
'sender' => 'Name',
'text' => 'Hello World!',
'phone' => '71234567890',
'datetime' => '',
'sms_lifetime' => 0
})
puts result # sms_id on epochta server
##Email From version 0.5.0 gem has new class for EPochta email campaigns.
# provide your user keys
epochta = EPochtaService::EPochtaEmail.new(:private_key => 'your_private_key', :public_key => 'your_public_key')
# create email campaign
campaign = epochta.createCampaign({
# read the api to provide correct arguments
'name' => 'test campaign',
'sender_name' => 'Vasya',
'sender_email' => 'example@yandex.ru',
'subject' => 'test email',
'body' => Base64.encode64("<h2>test</h2> <p>my mail</p>"),
'list_id' => @addr_book_id
})
puts campaign['id'] # created campaign id on epochta server
You can also install it as a gem.
gem install e_pochta
FAQs
Unknown package
We found that e_pochta 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
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.