Class: Mautic::ContactField
- Defined in:
- app/models/mautic/contact_field.rb
Instance Attribute Summary
Attributes inherited from Model
#changed, #connection, #errors
Class Method Summary collapse
Methods inherited from Model
#attributes, #attributes=, #changed?, #changes, #create, #destroy, #initialize, #mautic_id, #save, #to_mautic, #update, #update_columns
Constructor Details
This class inherits a constructor from Mautic::Model
Class Method Details
.endpoint ⇒ Object
3 4 5 |
# File 'app/models/mautic/contact_field.rb', line 3 def self.endpoint "fields/contact" end |
.in(connection) ⇒ Object
7 8 9 |
# File 'app/models/mautic/contact_field.rb', line 7 def self.in(connection) Proxy.new(connection, endpoint, klass: name, data_name: "field") end |