resource ||= @resource

json.id          resource.id
json.name        resource.name
json.description resource.description
json.url         resource.url
json.rating    resource.rating
json.created_at  resource.created_at
json.updated_at  resource.updated_at
