Class: QRAPI::Group
Class Method Summary collapse
-
.model_name ⇒ OpenStruct
Make the model serializeable by ActiveModelSerializer.
Methods inherited from BaseModel
#created_at, #inspect, #updated_at
Class Method Details
.model_name ⇒ OpenStruct
Make the model serializeable by ActiveModelSerializer
17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/qrapi/models/group.rb', line 17 def self.model_name OpenStruct.new(name: "QRAPI::MailingList", klass: self, singular: "qualtrics_group", plural: "qualtrics_groups", element: "group", human: "group", collection: "qrapi/groups", param_key: "qualtrics_groups", i18n_key: "qrapi/groups", route_key: "qualtrics_groups", singular_route_key: "qualtrics_group") end |