Initial commit
This commit is contained in:
13
app/api/v2/admin/entities/phone.rb
Normal file
13
app/api/v2/admin/entities/phone.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module API::V2::Admin
|
||||
module Entities
|
||||
class Phone < API::V2::Entities::Phone
|
||||
expose :number,
|
||||
documentation: {
|
||||
type: 'String',
|
||||
desc: 'Phone number'
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user