Method: EndpointFlux::Endpoint#method_missing

Defined in:
lib/endpoint_flux/endpoint.rb

#method_missing(method_id, *attrs, &block) ⇒ Object



32
33
34
35
36
37
38
39
# File 'lib/endpoint_flux/endpoint.rb', line 32

def method_missing(method_id, *attrs, &block)
  method_sym = method_id.to_sym
  if flow.include?(method_sym)
    configure_middleware(method_sym, attrs, &block)
  else
    super
  end
end