README.md in qpush-0.1.4 vs README.md in qpush-0.1.6

- old
+ new

@@ -35,28 +35,28 @@ By providing a path to a configuration file, we can setup QPush with plain old ruby. At a minimum, we should provide details on our Redis server and connections. There are more configuration options available - [all of which can be viewed here](https://github.com/nsweeting/qpush/wiki/Server-Configuration). ```ruby # QPush server configuration -QPush.configure do |config| +QPush::Server.configure do |config| # Your redis server url and number of connections to provide config.redis_url = ENV['REDIS_URL'] config.redis_pool = 10 end ``` Once the QPush server is running, it will begin processing any queued jobs based on priority. #### The Client -Before we can add jobs to our server, we must first ensure our client has the same connection to our Redis server. We can setup our configuration in the same manner as above. +Before we can add jobs to our server, we must first ensure our client has the same connection to our Redis server. We can setup our configuration in a similar manner as above. ```ruby require 'qpush' # QPush client configuration -QPush.configure do |config| +QPush::Client.configure do |config| # Your redis server url and number of connections to provide config.redis_url = ENV['REDIS_URL'] config.redis_pool = 10 end ``` @@ -119,10 +119,10 @@ ```ruby # You must remember to require the gem for whatever database you will be using. require 'pg' # QPush database configuration -QPush.configure do |config| +QPush::Server.configure do |config| # Redis and additional config omitted # .... # .... # Your database server url and number of connections to provide config.database_url = ENV['DATABASE_URL']