Class: Itsi::Server::Config::Patch

Inherits:
Middleware show all
Defined in:
lib/itsi/server/config/middleware/endpoint/patch.rb

Instance Method Summary collapse

Methods included from ConfigHelpers

included, load_and_register, #normalize_keys!

Constructor Details

#initialize(location, path = "", handler = nil, http_methods: [], nonblocking: false, script_name: nil, &handler_proc) ⇒ Patch

rubocop:disable Lint/MissingSuper



34
35
36
# File 'lib/itsi/server/config/middleware/endpoint/patch.rb', line 34

def initialize(location, path="", handler=nil, http_methods: [], nonblocking: false, script_name: nil, &handler_proc) # rubocop:disable Lint/MissingSuper
  location.endpoint(path, handler, http_methods: ["PATCH"], nonblocking: nonblocking, script_name: script_name, &handler_proc)
end

Instance Method Details

#build!Object



38
39
# File 'lib/itsi/server/config/middleware/endpoint/patch.rb', line 38

def build!
end