class Message::Type
Public Class Methods
new(placeholder_list, theme_color, facts = [])
click to toggle source
# File lib/capistrano/teams/message/types.rb, line 24 def initialize(placeholder_list, theme_color, facts = []) @placeholder_list = placeholder_list @theme_color = theme_color @facts = facts end
Public Instance Methods
content()
click to toggle source
# File lib/capistrano/teams/message/types.rb, line 34 def content raise 'Abstract method called' end
placeholders()
click to toggle source
# File lib/capistrano/teams/message/types.rb, line 30 def placeholders Message::Placeholders.new(@placeholder_list).placeholders end