Sha256: dc6c55c0b99940adcf1ad81decfdfc0cd7b954ed56d9fc4b99f247b0c73b473e
Contents?: true
Size: 570 Bytes
Versions: 30
Compression:
Stored size: 570 Bytes
Contents
module Locomotive class TestController < ApplicationController include Locomotive::Render attr_accessor :output, :status, :current_site, :current_locomotive_account def render(options = {}) self.output = options[:text] self.status = options[:status] end def response @_response ||= TestResponse.new end def request @_request ||= TestRequest.new end end class TestResponse < ActionDispatch::TestResponse end class TestRequest < ActionDispatch::TestRequest attr_accessor :fullpath end end
Version data entries
30 entries across 30 versions & 1 rubygems