README.md in exvo_helpers-0.0.2 vs README.md in exvo_helpers-0.0.3
- old
+ new
@@ -5,14 +5,16 @@
## Examples
Results are from the 'development' Rails environment:
```ruby
+Exvo::Helpers.cdn_host => 'www.exvo.local'
Exvo::Helpers.cfs_host => 'cfs.exvo.local'
Exvo::Helpers.desktop_host => 'www.exvo.local'
Exvo::Helpers.themes_host => 'themes.exvo.local'
+Exvo::Helpers.cdn_uri => 'http://www.exvo.local'
Exvo::Helpers.cfs_uri => 'http://cfs.exvo.local'
Exvo::Helpers.desktop_uri => 'http://www.exvo.local'
Exvo::Helpers.themes_uri => 'http://themes.exvo.local'
```
@@ -27,17 +29,19 @@
## Overwriting
There are two ways to do it. One is by the means of ENV variables (preferred one):
```ruby
+ENV['CDN_HOST'] = 'test.cdn.exvo.com'
ENV['CFS_HOST'] = 'test.cfs.exvo.com'
ENV['DESKTOP_HOST'] = 'test.exvo.com'
ENV['THEMES_HOST'] = 'test.themes.exvo.com'
```
The other one is to set it in the application's config file:
```ruby
+Exvo::Helpers.cdn_host = 'test.cfs.exvo.com'
Exvo::Helpers.cfs_host = 'test.cfs.exvo.com'
Exvo::Helpers.desktop_host = 'test.exvo.com'
Exvo::Helpers.themes_host = 'test.themes.exvo.com'
```