Class: QRAPI::Organization
- Defined in:
- lib/qrapi/models/organization.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
15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/qrapi/models/organization.rb', line 15 def self.model_name OpenStruct.new(name: "QRAPI::MailingList", klass: self, singular: "qualtrics_organization", plural: "qualtrics_organizations", element: "organization", human: "organization", collection: "qrapi/organizations", param_key: "qualtrics_organizations", i18n_key: "qrapi/organizations", route_key: "qualtrics_organizations", singular_route_key: "qualtrics_organization") end |