Class: SlackBot::ArgsBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/slack_bot/args.rb

Instance Method Summary collapse

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

#callObject



21
22
23
# File 'lib/slack_bot/args.rb', line 21

def call
  Rack::Utils.build_query(@args)
end