Sha256: 31a321e99b0f4b6887d83fc812142ab22d7f93c4bbfba91772ff71d7dfbb8640

Contents?: true

Size: 240 Bytes

Versions: 5

Compression:

Stored size: 240 Bytes

Contents

class ResponseController < ApplicationController

  before_action :set_response_env

  private

  def set_response_env
    require 'response'

    @response = Response.new
  end

  def send_response
    render json: @response.get
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
digital_heroes_startkit-0.1.1.4 app/controllers/response_controller.rb
digital_heroes_startkit-0.1.1.3 app/controllers/response_controller.rb
digital_heroes_startkit-0.1.1.2 app/controllers/response_controller.rb
digital_heroes_startkit-0.1.1.1 app/controllers/response_controller.rb
digital_heroes_startkit-0.1.1 app/controllers/response_controller.rb