Class: QRAPI::LibraryMessage

Inherits:
BaseModel show all
Defined in:
lib/qrapi/models/library_message.rb

Class Method Summary collapse

Methods inherited from BaseModel

#created_at, #inspect, #updated_at

Class Method Details

.model_nameOpenStruct

Make the model serializeable by ActiveModelSerializer

Returns:

  • (OpenStruct)


13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'lib/qrapi/models/library_message.rb', line 13

def self.model_name
  OpenStruct.new(name: "QRAPI::MailingList",
                 klass: self,
                 singular: "qualtrics_library_message",
                 plural: "qualtrics_library_messages",
                 element: "library_message",
                 human: "library_message",
                 collection: "qrapi/library_messages",
                 param_key: "qualtrics_library_messages",
                 i18n_key: "qrapi/library_messages",
                 route_key: "qualtrics_library_messages",
                 singular_route_key: "qualtrics_library_message")
end