Class: Europeana::FeedbackButton::Feedback
- Inherits:
-
Object
- Object
- Europeana::FeedbackButton::Feedback
- Includes:
- ActiveModel::Model
- Defined in:
- app/models/europeana/feedback_button/feedback.rb
Constant Summary collapse
- MAX_LENGTH =
400
- MIN_WORDS =
5
- TYPES =
%w(comment correction bug).freeze
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#page ⇒ Object
Returns the value of attribute page.
-
#privacy_policy ⇒ Object
Returns the value of attribute privacy_policy.
-
#text ⇒ Object
Returns the value of attribute text.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
12 13 14 |
# File 'app/models/europeana/feedback_button/feedback.rb', line 12 def email @email end |
#page ⇒ Object
Returns the value of attribute page.
12 13 14 |
# File 'app/models/europeana/feedback_button/feedback.rb', line 12 def page @page end |
#privacy_policy ⇒ Object
Returns the value of attribute privacy_policy.
12 13 14 |
# File 'app/models/europeana/feedback_button/feedback.rb', line 12 def privacy_policy @privacy_policy end |
#text ⇒ Object
Returns the value of attribute text.
12 13 14 |
# File 'app/models/europeana/feedback_button/feedback.rb', line 12 def text @text end |
#type ⇒ Object
Returns the value of attribute type.
12 13 14 |
# File 'app/models/europeana/feedback_button/feedback.rb', line 12 def type @type end |