Class: Indexter::Formatters::Json

Inherits:
Object
  • Object
show all
Defined in:
lib/indexter/formatters/json.rb

Instance Method Summary collapse

Instance Method Details

#format(payload) ⇒ Object



7
8
9
# File 'lib/indexter/formatters/json.rb', line 7

def format(payload)
  payload.to_json
end