Class: QRAPI::BaseModel
- Inherits:
-
Object
show all
- Includes:
- ActiveModel::Serialization
- Defined in:
- lib/qrapi/models/base_model.rb
Direct Known Subclasses
Distribution, Distribution::Headers, Distribution::Message, Distribution::Recipients, Distribution::SurveyLink, Division, Group, LibraryMessage, MailingList, MailingList::Contact, Organization, Response, ResponseExport, Survey, Survey::Expiration, User
Instance Method Summary
collapse
Instance Method Details
#created_at ⇒ Object
14
15
16
|
# File 'lib/qrapi/models/base_model.rb', line 14
def created_at
nil
end
|
#inspect ⇒ Object
9
10
11
12
|
# File 'lib/qrapi/models/base_model.rb', line 9
def inspect
values = Hash[instance_variables.map { |name| [name, instance_variable_get(name)] }]
"<#{self.class.name} #{values}>"
end
|
#updated_at ⇒ Object
18
19
20
|
# File 'lib/qrapi/models/base_model.rb', line 18
def updated_at
nil
end
|