2020-11-22 13:49:34 +01:00
|
|
|
class AuthD::Response
|
|
|
|
IPC::JSON.message Contacts, 12 do
|
|
|
|
property user : Int32
|
|
|
|
property email : String? = nil
|
|
|
|
property phone : String? = nil
|
|
|
|
def initialize(@user, @email, @phone)
|
|
|
|
end
|
|
|
|
end
|
2020-12-13 03:00:45 +01:00
|
|
|
AuthD.responses << Contacts
|
2020-11-22 13:49:34 +01:00
|
|
|
end
|