copyright | lastupdated | ||
---|---|---|---|
|
2016-11-22 |
{:new_window: target="_blank"} {:shortdesc: .shortdesc} {:screen: .screen} {:codeblock: .codeblock} {:pre: .pre}
{: #mql_how}
To use the API, add a reference to the latest available {{site.data.keyword.mql}} client API for Ruby as follows:
Add the following reference to the Gemfile
:
gem 'mqlight', '~> 1.0'
{: codeblock}
And add the following require statement to your source file:
require ‘mqlight’
{: codeblock}