rogerleite/restfolia — pull request #7 by felipecvo (2012-06-29 00:12:38+00:00)
Title: Support hashes with string key for links

`Restfolia.create_resource` receive a hash as his argument and parse it out to `Restfolia::ResourceCreator.resource_class`

It play nice with hash that has symbols as keys, but when hash has string as keys, the links method return nothing, even when the hash has hypermedia links. Example:

```
> resource = Restfolia.create_resource({"slug" => "nice", "link" => { "rel" => "self", "href" => "http://localhost/" } })
> resource.slug
=> "nice"
> resource.links
=> []
> resource.links("self")
=> nil
```

If it support hashes with string keys for links, as it does for other keys, it allow nice integration with legacy systems.