Module: NetSuite::Actions::Add::Support
- Defined in:
- lib/netsuite/actions/add.rb
Instance Method Summary collapse
Instance Method Details
#add(credentials = {}) ⇒ Object
74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/netsuite/actions/add.rb', line 74 def add(credentials={}) response = NetSuite::Actions::Add.call([self], credentials) @errors = response.errors if response.success? @internal_id = response.body[:@internal_id] true else false end end |