
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.
Ruby gem for using Ongair to to interact with WhatsApp; send messages, send media, add contacts, create groups, create lists, send broadcasts and many more.
Add this line to your application's Gemfile:
gem 'ongair_ruby'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ongair_ruby
Get the Ongair API key by signing up here: http://app.ongair.im
client = OngairRuby::ClientV2.new("YOUR_ONGAIR_API_KEY")
# Add a contact
client.create_contact("Name of contact", "254711223344")
# Send a message
client.send_message("254711223344", "Hello")
# Send an image
client.send_image("254722123456", "http://domain.com/image.jpg")
# List of contacts
client.contacts
# Create a WhatsApp group
client.create_group("group_name", "group_type", "group_jid")
# List of groups
client.groups
# Create a distribution list
client.create_list("list_name", "list_description")
# List of distribution lists
client.lists
# Add contact to a distribution list
client.add_list_member(list_id, contact_id)
# List of distribution list members
client.list_members(list_id)
# remove contact from a distribution list
client.remove_list_member(list_id, contact_id)
# send broadcasts to a distribution list
client.send_broadcast(list_id, "Hello everyone")
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that ongair_ruby 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.