Class: Itsi::Server::Config::Delete
- Inherits:
-
Middleware
- Object
- Middleware
- Itsi::Server::Config::Delete
- Defined in:
- lib/itsi/server/config/middleware/endpoint/delete.rb
Instance Method Summary collapse
- #build! ⇒ Object
-
#initialize(location, path = "", handler = nil, http_methods: [], nonblocking: false, script_name: nil, &handler_proc) ⇒ Delete
constructor
rubocop:disable Metrics/ParameterLists,Lint/MissingSuper.
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) ⇒ Delete
rubocop:disable Metrics/ParameterLists,Lint/MissingSuper
34 35 36 |
# File 'lib/itsi/server/config/middleware/endpoint/delete.rb', line 34 def initialize(location, path="", handler=nil, http_methods: [], nonblocking: false, script_name: nil, &handler_proc) # rubocop:disable Metrics/ParameterLists,Lint/MissingSuper location.endpoint(path, handler, http_methods: ["DELETE"], nonblocking: nonblocking, script_name: script_name, &handler_proc) end |
Instance Method Details
#build! ⇒ Object
38 39 |
# File 'lib/itsi/server/config/middleware/endpoint/delete.rb', line 38 def build! end |