Method: EndpointFlux::Endpoint#flow

Defined in:
lib/endpoint_flux/endpoint.rb

#flow(array = nil) ⇒ Object



27
28
29
30
# File 'lib/endpoint_flux/endpoint.rb', line 27

def flow(array = nil)
  @flow = array.map(&:to_sym) if array
  @flow || EndpointFlux.config.flow
end