class Utopia::Controller::Respond::Responder

Public Instance Methods

with(content_type, &block) click to toggle source
# File lib/utopia/controller/respond.rb, line 73
def with(content_type, &block)
        handle(content_type, &block)
end
with_json() click to toggle source
# File lib/utopia/controller/respond.rb, line 65
def with_json
        @handlers << Handlers::JSON
end
with_passthrough() click to toggle source
# File lib/utopia/controller/respond.rb, line 69
def with_passthrough
        @handlers << Handlers::Passthrough
end