Sha256: 56874cd9ad3870ca71b0063006d06e360e91b772a489a1b854f3b94229d09d76
Contents?: true
Size: 620 Bytes
Versions: 2
Compression:
Stored size: 620 Bytes
Contents
# frozen_string_literal: true module Ibrain class BaseController < ActionController::API include ActionController::Helpers include Ibrain::Core::ControllerHelpers::Response include Ibrain::Core::ControllerHelpers::StrongParameters include Ibrain::Core::ControllerHelpers::CurrentHost include Ibrain::Core::ControllerHelpers::Auth include IbrainErrors include IbrainHandler protected def operation_name params[:operationName] end def skip_operations %w[sign_in].include?(operation_name) end def cryptor Ibrain::Encryptor.new end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ibrain-core-0.1.9 | app/controllers/ibrain/base_controller.rb |
ibrain-core-0.1.8 | app/controllers/ibrain/base_controller.rb |