README.md in inbox-0.17.1 vs README.md in inbox-0.17.2
- old
+ new
@@ -20,18 +20,30 @@
- Ruby 1.8.7 or above. (Ruby 1.8.6 may work if you load ActiveSupport.)
- rest-client, json, yajl-ruby, em-http-request
-## Example Rails App
+## Examples
-A small example Rails app is included in the `example` directory. You can run the sample app to see how an authentication flow might be implemented.
+### Sinatra App
-`cd example`
+A small example of a Sintra app is included in the `examples/sinatra` directory. You can check-out the `README.md` in the sinatra folder to learn more about the example
-`RESTCLIENT_LOG=stdout rails s`
+```
+cd examples/sinatra
+ruby index.rb
+```
-*Note that you will need to replace the Nylas App ID and Secret in `config/environments/development.rb` to use the sample app.*
+### Rails App
+
+A small example Rails app is included in the `examples/rails` directory. You can run the sample app to see how an authentication flow might be implemented.
+
+```
+cd examples/rails
+RESTCLIENT_LOG=stdout rails s
+```
+
+**Note:** *You will need to replace the Nylas App ID and Secret in `config/environments/development.rb` to use the sample app.*
## Usage
### App ID and Secret