Module: NetSuite::Support::Requests

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
# File 'lib/netsuite/support/requests.rb', line 5

def self.included(base)
  base.send(:extend, ClassMethods)
end

Instance Method Details

#call(credentials = {}) ⇒ Object



18
19
20
21
# File 'lib/netsuite/support/requests.rb', line 18

def call(credentials={})
  @response = request(credentials)
  build_response
end