Module: LHC::BasicMethodsConcern::ClassMethods

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

Instance Method Summary collapse

Instance Method Details

#request(options) ⇒ Object



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

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