Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 735 Bytes

messagehub103.md

File metadata and controls

41 lines (27 loc) · 735 Bytes
copyright lastupdated
years
2015, 2017
2016-11-22

{:new_window: target="_blank"} {:shortdesc: .shortdesc} {:screen: .screen} {:codeblock: .codeblock} {:pre: .pre}

Using the MQ Light Ruby client

{: #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}