Module: Knuckles::Stages::Hydrator
Instance Method Summary collapse
Instance Method Details
#call(prepared, options) ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/knuckles/stages/hydrator.rb', line 8 def call(prepared, ) hydrate = [:hydrate] if hydrate && any_missing?(prepared) hydrate.call(hydratable(prepared)) end prepared end |