Class: Mautic::Tag

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

Instance Attribute Summary

Attributes inherited from Model

#connection

Instance Method Summary collapse

Methods inherited from Model

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

Constructor Details

This class inherits a constructor from Mautic::Model

Instance Method Details

#nameObject

alias for attribute :tag



5
6
7
# File 'app/models/mautic/tag.rb', line 5

def name
  tag
end

#name=(name) ⇒ Object



9
10
11
# File 'app/models/mautic/tag.rb', line 9

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