Class: Location

Inherits:
Taxonomy
  • Object
show all
Includes:
Foreman::ThreadSession::LocationModel
Defined in:
app/models/location.rb

Instance Method Summary collapse

Methods included from Foreman::ThreadSession::LocationModel

included

Methods inherited from Taxonomy

all_import_missing_ids, all_mismatcheds, as_taxonomy, enabled?, ignore?, #ignore?, locations_enabled, no_taxonomy_scope, organizations_enabled, #to_label, #to_param

Instance Method Details

#dupObject


19
20
21
22
23
# File 'app/models/location.rb', line 19

def dup
  new = super
  new.organizations = organizations
  new
end