Module: LHS::Service::Request

Extended by:
ActiveSupport::Concern
Included in:
LHS::Service
Defined in:
lib/lhs/concerns/service/request.rb

Instance Method Summary collapse

Instance Method Details

#request(options) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/lhs/concerns/service/request.rb', line 8

def request(options)
  if options.is_a? Array
    multiple_requests(options)
  else
    single_request(options)
  end
end