
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
campaign_monitor_party
Advanced tools
Lightweight wrapper for Campaign Monitor API over HTTP using HTTParty.
This is a very simple class that utilizes HTTParty -- a wonderful gem for consuming REST APIs. The code here is only about 20 lines or so; HTTParty does all the hard work.
sudo gem install campaign_monitor_party -s http://gemcutter.org
First, familiarize yourself with the API documentation here: http://www.campaignmonitor.com/api/
require 'rubygems'
require 'campaign_monitor_party'
API_KEY = '...'
cm = CampaignMonitorParty.new(API_KEY)
# The wrapper uses method_missing to accept any method supported by the HTTP API (now or in the future).
# For instance, the method "Subscriber.Add" is called with the code below.
cm.Subscriber.Add(
'ListID' => '...',
'Email' => 'tim@timmorgan.org',
'Name' => 'Tim Morgan'
)
# 'ApiKey' is passed in automatically for each method call.
# Other arguments should be passed as a hash to the method.
FAQs
Unknown package
We found that campaign_monitor_party 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 clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.