MailerLite API Ruby wrapper

A Ruby gem which helps to communicate with MailerLite API.

Gem Version Build Status Dependency Status Coverage Status Code Climate


Add this line to your application's Gemfile:

gem 'mailerlite'



When you sign up for an account, you are given an API key. You authenticate to the MailerLite API by providing your API key in the request. You can find your API key in page: Integrations ยป Developer API.

client = 'my-secret-api-key')

Or create file under config/initializers/mailerlite.rb

MailerLite.configure do |config|
  config.api_key = 'my-secret-api-key'

Supported Ruby Versions

This library aims to support and is tested against the following Ruby implementations:

  • Ruby 1.9.3
  • Ruby 2.0.0
  • Ruby 2.1.0
  • Ruby 2.2.0
  • Ruby 2.3.0

Copyright (c) 2016 Justas Palumickas. See LICENSE for details.