Sha256: 047961e937e6a8576cc5e645e1fb797dd980ab41176a4fb04c31f99d45f9adcb
Contents?: true
Size: 1.9 KB
Versions: 1
Compression:
Stored size: 1.9 KB
Contents
# MailerLite API v2 Ruby wrapper A Ruby gem which helps to communicate with [MailerLite][mailerlite] API. [][rubygems] [][travis] [][gemnasium] [][coveralls] [][codeclimate] ## Installation Add this line to your application's Gemfile: ```ruby gem 'mailerlite' ``` ## Usage ### Authentication When you sign up for an account, you are given an **API key**. You authenticate to the [MailerLite][mailerlite] API by providing your API key in the request. You can find your API key in page: Integrations ยป Developer API. ```ruby client = MailerLite::Client.new(api_key: 'my-secret-api-key') ``` Or create file under `config/initializers/mailerlite.rb` ```ruby MailerLite.configure do |config| config.api_key = 'my-secret-api-key' end ``` ## Supported Ruby Versions This library aims to support and is [tested against][travis] the following Ruby implementations: * Ruby 2.0.0 * Ruby 2.1.0 * Ruby 2.2.0 * Ruby 2.3.0 ## Copyright Copyright (c) 2016 Justas Palumickas. See [LICENSE][license] for details. [rubygems]: https://rubygems.org/gems/mailerlite [travis]: http://travis-ci.org/jpalumickas/mailerlite-ruby [gemnasium]: https://gemnasium.com/jpalumickas/mailerlite-ruby [coveralls]: https://coveralls.io/r/jpalumickas/mailerlite-ruby [codeclimate]: https://codeclimate.com/github/jpalumickas/mailerlite-ruby [license]: https://raw.githubusercontent.com/jpalumickas/mailerlite-ruby/master/LICENSE [mailerlite]: https://www.mailerlite.com
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mailerlite-1.0.1 | README.md |