Class: QRAPI::Distribution::Message
- Defined in:
- lib/qrapi/models/distribution/message.rb
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
12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/qrapi/models/distribution/message.rb', line 12 def self.model_name OpenStruct.new(name: "QRAPI::MailingList", klass: self, singular: "qualtrics_distribution_message", plural: "qualtrics_distribution_messages", element: "distribution_message", human: "distribution_message", collection: "qrapi/distribution_messages", param_key: "qualtrics_distribution_messages", i18n_key: "qrapi/distribution_messages", route_key: "qualtrics_distribution_messages", singular_route_key: "qualtrics_distribution_message") end |