-
- Downloads
Accept blocks for `.desc` and `.condition` slash commands DSL
Also, pass options as instance variables, making the DSL more
user-friendly / natural.
Signed-off-by:
Rémy Coutable <remy@rymai.me>
Showing
- app/services/slash_commands/interpret_service.rb 56 additions, 97 deletionsapp/services/slash_commands/interpret_service.rb
- lib/gitlab/slash_commands/dsl.rb 73 additions, 38 deletionslib/gitlab/slash_commands/dsl.rb
- spec/lib/gitlab/slash_commands/dsl_spec.rb 42 additions, 19 deletionsspec/lib/gitlab/slash_commands/dsl_spec.rb
Loading
Please register or sign in to comment