Class: Mautic::Tag
Defined Under Namespace
Classes: Collection
Instance Attribute Summary
Attributes inherited from Model
#changed, #connection, #errors
Instance Method Summary collapse
-
#name ⇒ Object
alias for attribute :tag.
- #name=(name) ⇒ Object
- #to_s ⇒ Object
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
#name ⇒ Object
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_s ⇒ Object
37 38 39 |
# File 'app/models/mautic/tag.rb', line 37 def to_s name end |