Module: DHC::BasicMethodsConcern::ClassMethods

Defined in:
lib/dhc/concerns/dhc/basic_methods_concern.rb

Instance Method Summary collapse

Instance Method Details

#request(options) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/dhc/concerns/dhc/basic_methods_concern.rb', line 10

def request(options)
  if options.is_a? Array
    parallel_requests(options)
  else
    DHC::Request.new(options).response
  end
end