def save
      # If we have an id, just update our fields.
      return update! if id

      from_response client.post("/customFields", {
        name:       name,
        idModel:    model_id,
        modelType:  model_type,
        type:       type,
        pos:        pos,
        fieldGroup: field_group
      })
    end
def save
      # If we have an id, just update our fields.
      return update! if id

      from_response client.post("/customFields", {
        name:       name,
        idModel:    model_id,
        modelType:  model_type,
        type:       type,
        pos:        pos,
        fieldGroup: field_group
      })
    end
Saves a record.