Class: FeedbackResponse
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- FeedbackResponse
- Includes:
- Checkable, HasOwner, HasTrack, HasUuid, Toggleable
- Defined in:
- app/models/feedback_response.rb
Overview
Response to feedback message
Attributes:
agent_id [Agent], optional
body [text]
created_at [DateTime]
data [jsonb]
[FeedbackMessage]
ip_address_id [IpAddress], optional
updated_at [DateTime]
user_id [User], optional
uuid [uuid]
visible [boolean]
Constant Summary collapse
- BODY_LIMIT =
5000
Class Method Summary collapse
- .creation_parameters ⇒ Object
- .entity_parameters ⇒ Object
- .page_for_administration(page = 1) ⇒ Object
Methods included from HasOwner
Class Method Details
.creation_parameters ⇒ Object
47 48 49 |
# File 'app/models/feedback_response.rb', line 47 def self.creation_parameters entity_parameters + i[] end |
.entity_parameters ⇒ Object
43 44 45 |
# File 'app/models/feedback_response.rb', line 43 def self.entity_parameters i[body] end |
.page_for_administration(page = 1) ⇒ Object
39 40 41 |
# File 'app/models/feedback_response.rb', line 39 def self.page_for_administration(page = 1) list_for_administration.page(page) end |