Class: Rack::ServiceApiVersioning::ServiceComponentDescriber::ReportServiceNotFound

Inherits:
Object
  • Object
show all
Defined in:
lib/rack/service_api_versioning/service_component_describer/report_service_not_found.rb

Overview

Builds Rack::Result to halt request execution, responding with a 404.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.call(service_name) ⇒ Object



15
16
17
# File 'lib/rack/service_api_versioning/service_component_describer/report_service_not_found.rb', line 15

def self.call(service_name)
  new(service_name).call
end

Instance Method Details

#callObject



19
20
21
# File 'lib/rack/service_api_versioning/service_component_describer/report_service_not_found.rb', line 19

def call
  new_response.finish
end