Class: SlackInteractiveClient::UnknownCommandInteraction

Inherits:
BaseInteraction show all
Defined in:
lib/slack_interactive_client/interactions/unknown_command_interaction.rb

Constant Summary

Constants included from SlackInteractionParams

SlackInteractionParams::DIRECT_MESSAGE_CHANNEL

Instance Attribute Summary

Attributes inherited from BaseInteraction

#interaction_params

Instance Method Summary collapse

Methods inherited from BaseInteraction

#call, #initialize, interaction_options, interaction_pattern

Methods included from SlackPatternInteraction

#method_missing, #respond_to_missing?

Methods included from SlackInteractionParams

#slack_channel_id, #slack_channel_name, #slack_command, #slack_message_text, #slack_response_url, #slack_team_domain, #slack_team_id, #slack_token, #slack_user_id, #slack_user_name

Constructor Details

This class inherits a constructor from SlackInteractiveClient::BaseInteraction

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class SlackPatternInteraction

Instance Method Details

#executeObject



9
10
11
12
# File 'lib/slack_interactive_client/interactions/unknown_command_interaction.rb', line 9

def execute
  response = "Hmmm. I don't know that command. If you think I should double check your slack configuration and your interaction definitions"
  send_message(response)
end