class SlackRespondent::Commands::Support::Match
Attributes
attachment[R]
attachment_field[R]
Public Class Methods
new(match_data, attachment = nil, attachment_field = nil)
click to toggle source
# File lib/slack_respondent/commands/support/match.rb, line 11 def initialize(match_data, attachment = nil, attachment_field = nil) unless match_data.is_a? MatchData raise ArgumentError, 'match_data should be a type of MatchData' end @match_data = match_data @attachment = attachment @attachment_field = attachment_field end