Merge pull request #10 from EmergentOrder/develop

Fix README to avoid NoMethodError
diff --git a/README.md b/README.md
index 05de786..047e956 100644
--- a/README.md
+++ b/README.md
@@ -38,13 +38,15 @@
 ### Instantiate Event Client and connect to PredictionIO Event Server
 
 ```ruby
+require 'predictionio'
+
 # Define environment variables.
-ENV['PIO_THREADS'] = 50 # For async requests.
+ENV['PIO_THREADS'] = '50' # For async requests.
 ENV['PIO_EVENT_SERVER_URL'] = 'http://localhost:7070'
 ENV['PIO_ACCESS_KEY'] = 'YOUR_ACCESS_KEY' # Find your access key with: `$ pio app list`.
 
 # Create PredictionIO event client.
-client = PredictionIO::EventClient.new(ENV['PIO_ACCESS_KEY'], ENV['PIO_EVENT_SERVER_URL'], ENV['PIO_THREADS'])
+client = PredictionIO::EventClient.new(ENV['PIO_ACCESS_KEY'], ENV['PIO_EVENT_SERVER_URL'], Integer(ENV['PIO_THREADS']))
 ```
 
 ### Create a `$set` user event and send it to Event Server