Module: NetSuite::Actions::Update::Support
- Defined in:
- lib/netsuite/actions/update.rb
Instance Method Summary collapse
Instance Method Details
#update(options = {}, credentials = {}) ⇒ Object
73 74 75 76 77 78 79 |
# File 'lib/netsuite/actions/update.rb', line 73 def update( = {}, credentials={}) .merge!(:internal_id => internal_id) if respond_to?(:internal_id) && internal_id .merge!(:external_id => external_id) if respond_to?(:external_id) && external_id response = NetSuite::Actions::Update.call([self.class, ], credentials) @errors = response.errors response.success? end |