Skip to content

Commit

Permalink
Added Ruby SDK code in classification quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Chan committed Nov 22, 2014
1 parent 484f4fd commit c6693ee
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/manual/classification/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,13 @@ print_r($response);
<div data-lang="Ruby SDK">

{% highlight ruby %}
(coming soon)
# Create client object.
client = PredictionIO::EngineClient.new(<ENGINE DEPLOY URL>)

# Query PredictionIO.
response = client.send_query('features' => [2, 0, 0])

puts response
{% endhighlight %}

</div>
Expand Down

0 comments on commit c6693ee

Please sign in to comment.