Sha256: 760486c9db393d2ceb826621784066aa259f6fae2b87ac2e4147ef11ad340d5d
Contents?: true
Size: 1.73 KB
Versions: 1
Compression:
Stored size: 1.73 KB
Contents
# MailerLite API 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 1.9.3 * Ruby 2.0.0 * Ruby 2.1.0 * Ruby 2.2.0 * Ruby 2.3.0 [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 [mailerlite]: https://www.mailerlite.com
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mailerlite-0.2.0 | README.md |