Method: TecDoc::Vehicle#assembly_groups

Defined in:
lib/tec_doc/vehicle.rb

#assembly_groups(options = {}) ⇒ Object

Vehicle linked assembly parent groups



113
114
115
116
117
118
119
# File 'lib/tec_doc/vehicle.rb', line 113

def assembly_groups(options = {})
  options.merge!({
    :linking_target_type => "C",
    :linking_target_id => id,
  })
  AssemblyGroup.all(options)
end