Sha256: 9c2c1d416d7dfa116bbb50dbf26b616a6ca03c33c473f419ec8d4b593e9c1be7

Contents?: true

Size: 480 Bytes

Versions: 4

Compression:

Stored size: 480 Bytes

Contents

require 'token_authenticate_me/concerns/controllers/token_authenticateable'
require 'api_me'

module TokenAuthenticateMe
  module Api
    module V1
      class UsersController < BaseController
        include ApiMe
        include TokenAuthenticateMe::Concerns::Controllers::TokenAuthenticateable

        skip_before_action :authenticate, only: [:create]

        model TokenAuthenticateMe::User
        serializer TokenAuthenticateMe::UserSerializer
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
token_authenticate_me-0.11.2 app/controllers/token_authenticate_me/api/v1/users_controller.rb
token_authenticate_me-0.11.1 app/controllers/token_authenticate_me/api/v1/users_controller.rb
token_authenticate_me-0.11.0 app/controllers/token_authenticate_me/api/v1/users_controller.rb
token_authenticate_me-0.10.0 app/controllers/token_authenticate_me/api/v1/users_controller.rb