Method: Slack::RPC::Command#initialize
- Defined in:
- lib/slack/rpc/command.rb
#initialize(connection, command, sub_commands) ⇒ Command
### Slack::RPC::Commnad.new(conn, command, sub_commands) Creates a new instance of Slack::RPC::Command class
12 13 14 15 16 |
# File 'lib/slack/rpc/command.rb', line 12 def initialize(connection, command, sub_commands) @connection = connection @command = command @sub_commands = sub_commands end |