README.md in crunchbase4-0.1.9 vs README.md in crunchbase4-0.2.0
- old
+ new
@@ -24,15 +24,20 @@
## Getting Started
#### Configure your certificate for API
```ruby
-require 'crunchbase4'
+require 'crunchbase'
-CB_CONFIG = YAML.load(File.read('crunchbase.yml'))
-Crunchbase.config.user_key = CB_CONFIG['user_key']
-Crunchbase.config.user_key = false # If you want to know the request information, can set the debug = true
+config = YAML.load(File.read('spec/crunchbase.yml'))
+Crunchbase.config.user_key = config['user_key']
+Crunchbase.config.debug = config['debug'] || false # If you want to know the request information, can set the debug = true
```
+
+#### If you want to use it in Rails Application, simple way to create a file `crunchbase.rb` in `config/initializers`
+
+- and put the above info(https://github.com/ekohe/crunchbase4#configure-your-certificate-for-api) into the new file
+
## Usage
#### Class: `Client` for API