houdini/lib/create/create_custom_field_master.rb
2019-08-02 19:07:29 +02:00

9 lines
294 B
Ruby

# frozen_string_literal: true
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
module CreateCustomFieldMaster
def self.create(nonprofit, params)
custom_field_master = nonprofit.custom_field_masters.create(params)
custom_field_master
end
end