README.md in taric-0.1.12 vs README.md in taric-0.1.13
- old
+ new
@@ -46,18 +46,25 @@
RIOT_API_KEY=whatever_key_rito_assigned_you
```
This approach is best if you don't care to configure anything else.
-2. Configure it once (e.g. Rails initializer):
+2. Configure it once (e.g. Rails initializer). An example with typhoeus:
```ruby
+ require 'faraday'
+ require 'typhoeus'
+ require 'typhoeus/adapters/faraday'
+
Taric.configure! do |config|
config.api_key = 'whatever_key_rito_assigned_you'
+ c.adapter = :typhoeus # default is Faraday.default_adapter
end
```
This approach is best if you want to configure other things (documentation to come)
+
+
## Usage
> "Functional and stylish."
\ No newline at end of file