Class: QRAPI::User
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
30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/qrapi/models/user.rb', line 30 def self.model_name OpenStruct.new(name: "QRAPI::MailingList", klass: self, singular: "qualtrics_user", plural: "qualtrics_users", element: "user", human: "user", collection: "qrapi/users", param_key: "qualtrics_users", i18n_key: "qrapi/users", route_key: "qualtrics_users", singular_route_key: "qualtrics_user") end |