./README.md in sinatra-param-0.0.2 vs ./README.md in sinatra-param-0.1.0
- old
+ new
@@ -8,9 +8,10 @@
**`sinatra-param` allows you to declare, validate, and transform endpoint parameters as you would in frameworks like [DataMapper](http://datamapper.org/) or [ActiveModel](http://rubydoc.info/gems/activemodel/3.2.3/frames).**
## Example
``` ruby
+require 'sinatra/param'
class App < Sinatra::Base
helpers Sinatra::Param
before do
content_type :json
\ No newline at end of file