Class: SlackBot::ArgsBuilder
- Inherits:
-
Object
- Object
- SlackBot::ArgsBuilder
- Defined in:
- lib/slack_bot/args.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(args) ⇒ ArgsBuilder
constructor
A new instance of ArgsBuilder.
Constructor Details
#initialize(args) ⇒ ArgsBuilder
Returns a new instance of ArgsBuilder.
17 18 19 |
# File 'lib/slack_bot/args.rb', line 17 def initialize(args) @args = args end |
Instance Method Details
#call ⇒ Object
21 22 23 |
# File 'lib/slack_bot/args.rb', line 21 def call Rack::Utils.build_query(@args) end |