Initial commit
This commit is contained in:
19
app/api/v2/management/entities/profile.rb
Normal file
19
app/api/v2/management/entities/profile.rb
Normal file
@@ -0,0 +1,19 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module API::V2::Management
|
||||
module Entities
|
||||
class Profile < API::V2::Entities::Profile
|
||||
expose :last_name,
|
||||
documentation: {
|
||||
type: 'String',
|
||||
desc: 'Last name'
|
||||
}
|
||||
|
||||
expose :dob,
|
||||
documentation: {
|
||||
type: 'Date',
|
||||
desc: 'Birth date'
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user