README.md in web_font-0.0.7 vs README.md in web_font-0.1.1
- old
+ new
@@ -31,13 +31,13 @@
```ruby
require 'web_font'
ENV['GOOGLE_API_KEY'] = '...'
-WebFont::Data.path = '/some/where/in/your/disk'
+WebFont::Index.path = '/some/where/in/your/disk'
# First you need to have font index
-WebFont::Data.download
+WebFont::Index.download
# Then you can download font 'Open Sans' and store it in /users/foo
downloader = WebFont::Downloader.new
downloader.download('Open Sans', '/users/foo')