lib/roda/plugins/endpoints.rb in roda-endpoints-0.3.4 vs lib/roda/plugins/endpoints.rb in roda-endpoints-0.3.5
- old
+ new
@@ -172,10 +172,9 @@
# @param [Class(Roda::Endpoints::Endpoint::Singleton)] type
# @param [Dry::Container::Mixin, #register, #resolve, #merge] container
# @param [Roda::Endpoints::Endpoint] parent
# @param [Hash] kwargs
- # rubocop:disable Metrics/ParameterLists
def endpoint(name:,
type:,
container: roda_class.opts[:endpoints][:container],
parent: current_endpoint,
on: name,