Method: NetSuite::Response#initialize
- Defined in:
- lib/netsuite/response.rb
#initialize(attributes = {}) ⇒ Response
5 6 7 8 9 10 |
# File 'lib/netsuite/response.rb', line 5 def initialize(attributes = {}) @success = attributes[:success] @header = attributes[:header] @body = attributes[:body] @errors = attributes[:errors] || [] end |