Class: Mushy::Format

Inherits:
Flux
  • Object
show all
Defined in:
lib/mushy/fluxs/format.rb

Instance Attribute Summary

Attributes inherited from Flux

#config, #id, #masher, #parent_fluxs, #subscribed_to, #type

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Flux

#convert_this_to_an_array, #convert_to_symbolized_hash, #execute, #execute_single_event, #group_these_results, #guard, inherited, #initialize, #join_these_results, #limit_these_results, #merge_these_results, #model_these_results, #outgoing_split_these_results, #shape_these, #sort_these_results, #standardize_these

Constructor Details

This class inherits a constructor from Mushy::Flux

Class Method Details

.detailsObject



5
6
7
8
9
10
11
# File 'lib/mushy/fluxs/format.rb', line 5

def self.details
  {
    name: 'Format',
    description: 'Return the event passed to it. This opens the opportunity to further alter results.',
    config: {},
  }
end

Instance Method Details

#process(event, config) ⇒ Object



13
14
15
# File 'lib/mushy/fluxs/format.rb', line 13

def process event, config
  event
end