Updated

app/models / feedback_signature.rb

A
23 lines of codes
5 methods
1.1 complexity/method
1 churn
5.46 complexity
0 duplications
FeedbackSignature = Struct.new(:petition) do
  1. FeedbackSignature has no descriptive comment
def name 'Petitions team' end def email rfc2822.address end def unsubscribe_token 'ThisIsNotAToken' end def to_param '0' end private def rfc2822
  1. FeedbackSignature#rfc2822 has the name 'rfc2822'
@rfc2822 ||= Mail::Address.new(Site.feedback_email) end end