Create api_blueprint.rb
This commit is contained in:
parent
7720d5400f
commit
31e62e073c
1 changed files with 12 additions and 0 deletions
12
app/blueprints/api/v1/api_blueprint.rb
Normal file
12
app/blueprints/api/v1/api_blueprint.rb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Api
|
||||
module V1
|
||||
class ApiBlueprint < Blueprinter::Base
|
||||
identifier :id
|
||||
|
||||
cattr_accessor :current_user
|
||||
cattr_writer :current_user
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Reference in a new issue