Skip to content

Business intelligence made simple

Updated section on creating an adapter

Andrew Kanee54ef0c42838
diff --git a/README.md b/README.md
index 52c4245d..d3883d21 100644
--- a/README.md
+++ b/README.md
@@ -497,7 +497,7 @@ data_sources:
Create an adapter for any data store with:
-```
+```ruby
class FooAdapter < Blazer::Adapters::BaseAdapter
# code goes here
end
@@ -505,7 +505,7 @@ end
Blazer.register_adapter "foo", FooAdapter
```
-See the [Presto adapter](https://github.com/ankane/blazer/blob/master/lib/blazer/adapters/presto_adapter.rb) for a good example.
+See the [Presto adapter](https://github.com/ankane/blazer/blob/master/lib/blazer/adapters/presto_adapter.rb) for a good example. Then use:
```yml
data_sources: