app/models/in_progress_etd.rb
# currently the EtdForm uses the boolean param "no_embargoes", so we need to send or remove it (seems a good candidate for refactoring in EtdForm)
currently the EtdForm uses the boolean param "no_embargoes", so we need to send or remove it
currently the EtdForm uses the boolean param " no_embargoes " so we need to send or remove it
def add_no_embargoes(new_data)
    resulting_data = new_data[:embargo_length] == NO_EMBARGO ? new_data.merge("no_embargoes" => "1") : nil
    resulting_data.nil? ? new_data : resulting_data
  end
def add_no_embargoes ( new_data ) resulting_data = new_data [ :embargo_length ] == NO_EMBARGO ? new_data . merge ( "no_embargoes" => "1" ) : nil resulting_data . nil? ? new_data : resulting_data end
currently the EtdForm uses the boolean param "no_embargoes", so we need to send or remove it (seems a good candidate for refactoring in EtdForm)
currently the EtdForm uses the boolean param " no_embargoes " so we need to send or remove it ( seems a good candidate for refactoring in EtdForm )
new_data
<not_specific>