Class: QRAPI::Division
- Defined in:
- lib/qrapi/models/division.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
18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/qrapi/models/division.rb', line 18 def self.model_name OpenStruct.new(name: "QRAPI::MailingList", klass: self, singular: "qualtrics_division", plural: "qualtrics_divisions", element: "division", human: "division", collection: "qrapi/divisions", param_key: "qualtrics_divisions", i18n_key: "qrapi/divisions", route_key: "qualtrics_divisions", singular_route_key: "qualtrics_division") end |