Cortex Ruby API Client