Module: NetSuite::Support::Requests::ClassMethods

Defined in:
lib/netsuite/support/requests.rb

Instance Method Summary collapse

Instance Method Details

#call(options, credentials = {}) ⇒ Object

Raises:

  • (ArgumentError)


11
12
13
14
# File 'lib/netsuite/support/requests.rb', line 11

def call(options, credentials={})
  raise ArgumentError, "options should be an array" unless options.is_a?(Array)
  new(*options).call(credentials)
end