Method: TecDoc::Vehicle#assembly_groups

Defined in:
lib/tec_doc/vehicle.rb

#assembly_groups(options = {}) ⇒ Object

Vehicle linked assembly parent groups



118
119
120
121
122
123
124
# File 'lib/tec_doc/vehicle.rb', line 118

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