Class: Mdm::HostTag

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/mdm/host_tag.rb

Instance Attribute Summary collapse

Instance Attribute Details

#hostMdm::Host

TODO:

MSP-2723

Host with #tag.

Returns:



13
14
15
# File 'app/models/mdm/host_tag.rb', line 13

belongs_to :host,
class_name: 'Mdm::Host',
inverse_of: :hosts_tags

#tagMdm::Tag

TODO:

MSP-2723

Tag on #host.

Returns:



22
23
24
# File 'app/models/mdm/host_tag.rb', line 22

belongs_to :tag,
class_name: 'Mdm::Tag',
inverse_of: :hosts_tags