Skip to content

roughneck/mailerlite-ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MailerLite API Ruby wrapper

A Ruby gem which helps to communicate with MailerLite API.

Gem Version Build Status Dependency Status Coverage Status Code Climate

Installation

Add this line to your application's Gemfile:

gem 'mailerlite'

Usage

Authentication

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 = MailerLite::Client.new(api_key: 'my-secret-api-key')

Or create file under config/initializers/mailerlite.rb

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

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

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

About

Ruby wrapper for MailerLite API

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 99.5%
  • Shell 0.5%