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

Inherits:
FollowLink show all
Defined in:
card/tmpsets/set/mod025-card-mod-follow/all/follow/stop_follow_link.rb,
card/tmpsets/set/mod026-card-mod-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 'card/tmpsets/set/mod025-card-mod-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