module ApiHammer::Sinatra::Halt
Public Instance Methods
halt(status, body, render_options = {})
click to toggle source
halt and render the given body
# File lib/api_hammer/sinatra/halt.rb, line 7 def halt(status, body, render_options = {}) throw :halt, format_response(status, body) end