
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Ruby client for the Mailbluster API.
gem install mailbluster
or with bundler:
bundler add mailbluster
then configure the gem:
Mailbluster.configure do |config|
config.api_key = 'your-api-key'
end
or with environment variables:
env MAILBLUSTER_API_KEY=your-api-key ruby app.rb
or directly on the Client instance:
mailbluster_client = Mailbluster::Client.new('your-api-key')
mailbluster_client = Mailbluster::Client.new
lead = mailbluster_client.leads.create(email: 'lead@example.org')
puts lead.inspect # => #<Mailbluster::Resource @resource_type=#<Mailbluster::ResourceType::Lead>, @raw_attributes={"id"=>262093545 ...}>
mailbluster_client.leads.read(lead.email) # => #<Mailbluster::Resource @resource_type=#<Mailbluster::ResourceType::Lead>, @raw_attributes={"id"=>262093545 ...}>
create_lead_attributes = {
"firstName" => "Richard",
"lastName" => "Hendricks",
"fields" => {
"gender" => "Male",
"address" => "Silicon Valley"
},
"email" => "richard@example.com",
"ipAddress" => "162.213.1.246",
"subscribed" => false,
"doubleOptIn" => true,
"meta" => {
"company" => "Pied Piper",
"role" => "CEO"
},
"tags" => [
"iPhone User",
"Startup"
],
"overrideExisting" => true
}
In the bin
directory, there is a demo
script that you can run to see how to use the gem and to create example leads in Mailbluster. You can run it like this:
env MAILBLUSTER_API_KEY=your-api-key ruby bin/demo
Official documentation for the Mailbluster API can be found at https://app.mailbluster.com/api-doc.
If you want to report a bug, or have ideas, feedback or questions about the gem, let me know via GitHub issues and I will do my best to provide a helpful answer. Happy hacking!
The gem is available as open source under the terms of the MIT License.
Everyone interacting in this project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
Pull requests are welcome!
FAQs
Unknown package
We found that mailbluster 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
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.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.