1FeedbackSignature = Struct.new(:petition) do |
|
2 def name |
|
3 'Petitions team' |
|
4 end |
|
6 def email |
|
7 rfc2822.address
|
|
8 end |
|
10 def unsubscribe_token |
|
11 'ThisIsNotAToken' |
|
12 end |
|
14 def to_param |
|
15 '0' |
|
16 end |
|
18 private
|
|
20 def rfc2822 |
|
21 @rfc2822 ||= Mail::Address.new(Site.feedback_email) |
|
22 end |
|
23end |