Sha256: 49e3eeee741cda1401b78ec351e4d4dd80b29dcb363339d6338005a663b12ca2

Contents?: true

Size: 173 Bytes

Versions: 1

Compression:

Stored size: 173 Bytes

Contents

class ValidationErrorInJson < Goliath::API
  use Goliath::Rack::Render, 'json'
  def response(env)
    raise Goliath::Validation::Error.new(420, 'You Must Chill')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
goliath-1.0.0 test.rb