module Async::Aws
Constants
- VERSION
Public Instance Methods
config()
click to toggle source
# File lib/async/aws.rb, line 9 def config @config ||= {} end
configure(**kwargs)
click to toggle source
# File lib/async/aws.rb, line 13 def configure(**kwargs) config.merge!(kwargs.slice(:connection_limit)) end
connection_limit()
click to toggle source
# File lib/async/aws.rb, line 25 def connection_limit config.fetch(:connection_limit, 1) end
connection_limit=(arg)
click to toggle source
# File lib/async/aws.rb, line 21 def connection_limit=(arg) config[:connection_limit] = arg.to_i end
set(key, value)
click to toggle source
# File lib/async/aws.rb, line 17 def set(key, value) __send__("#{key}=".to_sym, value) end