Module: NetSuite::Actions::Delete::Support
- Defined in:
- lib/netsuite/actions/delete.rb
Instance Method Summary collapse
Instance Method Details
#delete(options = {}, credentials = {}) ⇒ Object
87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/netsuite/actions/delete.rb', line 87 def delete( = {}, credentials={}) response = if .empty? NetSuite::Actions::Delete.call([self], credentials) else NetSuite::Actions::Delete.call([self, ], credentials) end @errors = response.errors response.success? end |