Sha256: 1fe961b3c7b7bd5f29da5bb12c800e9f9897cd3e350631cfe70914376589fd1f

Contents?: true

Size: 315 Bytes

Versions: 10

Compression:

Stored size: 315 Bytes

Contents

module Usman
  module Api
    module V1
      class BaseController < ActionController::API

        include ActionController::HttpAuthentication::Token::ControllerMethods
        include RenderApiHelper
        include Usman::ApiHelper
        
        before_action :require_api_token

      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
usman-0.3.2 app/controllers/usman/api/v1/base_controller.rb
usman-0.3.1 app/controllers/usman/api/v1/base_controller.rb
usman-0.3.0 app/controllers/usman/api/v1/base_controller.rb
usman-0.2.11 app/controllers/usman/api/v1/base_controller.rb
usman-0.2.10 app/controllers/usman/api/v1/base_controller.rb
usman-0.2.9 app/controllers/usman/api/v1/base_controller.rb
usman-0.2.8 app/controllers/usman/api/v1/base_controller.rb
usman-0.2.7 app/controllers/usman/api/v1/base_controller.rb
usman-0.2.6 app/controllers/usman/api/v1/base_controller.rb
usman-0.2.5 app/controllers/usman/api/v1/base_controller.rb