11 lines
143 B
Crystal
11 lines
143 B
Crystal
require "json"
|
|
|
|
module Telepathy
|
|
class Response(T)
|
|
JSON.mapping(
|
|
ok: Bool,
|
|
result: T
|
|
)
|
|
end
|
|
end
|