Module: ModelExtensions::Stamp

Included in:
Stamp
Defined in:
app/api/model_extensions/stamp.rb

Overview

Included in Stamp Handles the translation of V1 API input to more standard rails attributes

Instance Method Summary collapse

Instance Method Details

#stamp_details=(details) ⇒ Object



5
6
7
# File 'app/api/model_extensions/stamp.rb', line 5

def stamp_details=(details)
  stamp_qcables.build(details.map { |d| locate_qcable(d) })
end