Module: NetSuite::Support::Requests
- Included in:
- Actions::Add, Actions::Delete, Actions::DeleteList, Actions::Get, Actions::GetAll, Actions::GetList, Actions::GetSelectValue, Actions::Initialize, Actions::Search, Actions::Update, Actions::Upsert, Actions::UpsertList
- Defined in:
- lib/netsuite/support/requests.rb
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 |