Class: Mautic::Tag

Inherits:
Model
  • Object
show all
Defined in:
app/models/mautic/tag.rb

Defined Under Namespace

Classes: Collection

Instance Attribute Summary

Attributes inherited from Model

#changed, #connection, #errors

Instance Method Summary collapse

Methods inherited from Model

#attributes, #attributes=, #changed?, #changes, #create, #destroy, endpoint, in, #initialize, #mautic_id, #save, #to_mautic, #update, #update_columns

Constructor Details

This class inherits a constructor from Mautic::Model

Instance Method Details

#nameObject

alias for attribute :tag



33
34
35
# File 'app/models/mautic/tag.rb', line 33

def name
  tag
end

#name=(name) ⇒ Object



41
42
43
# File 'app/models/mautic/tag.rb', line 41

def name=(name)
  self.tag = name
end

#to_sObject



37
38
39
# File 'app/models/mautic/tag.rb', line 37

def to_s
  name
end