When I was writing this into the actual project I'm working on, I had the links api working like this:

```ruby
link :posts, route: :posts, template: '{?published_before,published_after}'
link :self, route: :post, params: [object.id]
```

And then the above code would use the `:route` option to build a url helper, passing `:params` and/or appending the `:template` as appropriate.

But this gem doesn't actually have a runtime dependency on Rails, so it seemed inappropriate to build that in, so now it takes `:href` and `:templated` (just like HAL links) and just passes them along.

Anyone have opinions on this aspect?