Class: Copilot::CommandContext
- Inherits:
-
Struct
- Object
- Struct
- Copilot::CommandContext
- Defined in:
- lib/copilot/types.rb
Overview
Context for a slash-command invocation.
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#command ⇒ Object
Returns the value of attribute command.
-
#command_name ⇒ Object
Returns the value of attribute command_name.
-
#session_id ⇒ Object
Returns the value of attribute session_id.
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
266 267 268 |
# File 'lib/copilot/types.rb', line 266 def args @args end |
#command ⇒ Object
Returns the value of attribute command
266 267 268 |
# File 'lib/copilot/types.rb', line 266 def command @command end |
#command_name ⇒ Object
Returns the value of attribute command_name
266 267 268 |
# File 'lib/copilot/types.rb', line 266 def command_name @command_name end |
#session_id ⇒ Object
Returns the value of attribute session_id
266 267 268 |
# File 'lib/copilot/types.rb', line 266 def session_id @session_id end |