Class: Europeana::FeedbackButton::Feedback

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#emailObject

Returns the value of attribute email.



12
13
14
# File 'app/models/europeana/feedback_button/feedback.rb', line 12

def email
  @email
end

#pageObject

Returns the value of attribute page.



12
13
14
# File 'app/models/europeana/feedback_button/feedback.rb', line 12

def page
  @page
end

#privacy_policyObject

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

#textObject

Returns the value of attribute text.



12
13
14
# File 'app/models/europeana/feedback_button/feedback.rb', line 12

def text
  @text
end

#typeObject

Returns the value of attribute type.



12
13
14
# File 'app/models/europeana/feedback_button/feedback.rb', line 12

def type
  @type
end