class ApiHammer::Rails::Halt
an exception raised to stop processing an action and render the body given as the 'body' argument (which is expected to be a JSON-able object)
Attributes
body[R]
render_options[R]
Public Class Methods
new(message, body, render_options={})
click to toggle source
Calls superclass method
# File lib/api_hammer/rails/halt.rb, line 13 def initialize(message, body, render_options={}) super(message) @body = body @render_options = render_options end