Class: Card::Set::All::Follow::StopFollowLink

Inherits:
FollowLink
  • Object
show all
Defined in:
tmpsets/set/mod017-follow/all/follow/stop_follow_link.rb

Instance Attribute Summary

Attributes inherited from FollowLink

#action, #css_class, #format, #hover_text, #link_text, #rule_content

Instance Method Summary collapse

Methods inherited from FollowLink

#button, #link_opts, #modal_link, #render_link_text

Constructor Details

#initialize(format) ⇒ StopFollowLink

Returns a new instance of StopFollowLink.



10
11
12
13
14
15
16
17
# File 'tmpsets/set/mod017-follow/all/follow/stop_follow_link.rb', line 10

def initialize format
  @rule_content = "*never"
  @link_text = "following"
  @hover_text = "unfollow"
  @action = "stop sending"
  @css_class = "btn-item-delete"
  super
end