mirror of https://github.com/cmur2/dyndnsd.git
20 lines
525 B
Plaintext
20 lines
525 B
Plaintext
module Dyndnsd
|
|
module Responder
|
|
class RestStyle
|
|
def initialize: (_App app) -> void
|
|
|
|
def call: (env env) -> response?
|
|
|
|
private
|
|
|
|
def decorate_dyndnsd_response: (int status_code, headers headers, Array[untyped] body) -> response?
|
|
|
|
def decorate_other_response: (int status_code, headers headers, Array[untyped] _body) -> response?
|
|
|
|
def get_success_body: (Array[Symbol] changes, Array[string] myips) -> string
|
|
|
|
def error_response_map: () -> Hash[string, response]
|
|
end
|
|
end
|
|
end
|