SebastianEdwards/collection-json — pull request #2 by pcboy (2012-05-14 12:57:58+00:00)
Title: Fix issue with Builder.set_error (undefined method `error=')

Tiny commit for the set_error method which didn't work.

Reproduce the error with:
````ruby
collection = CollectionJSON.generate_for(api_auth_url) do |builder|
builder.set_error(title: 'authentication_failed', message: 'Invalid username/password')
end
````
````ruby
NoMethodError (undefined method `error=' for #):
````