As this method is only called a single time, it should be good to inline it:

```ruby
def using_resource_with_json
  respond_with(CustomerWithJson.new("david", request.delete? ? nil : 13))
end

```