lib/netsuite/response.rb in netsuite-0.2.0 vs lib/netsuite/response.rb in netsuite-0.2.1

- old
+ new

@@ -1,12 +1,13 @@ module NetSuite class Response - attr_accessor :header, :body + attr_accessor :header, :body, :errors def initialize(attributes = {}) - @success = attributes[:success] - @header = attributes[:header] - @body = attributes[:body] + @success = attributes[:success] + @header = attributes[:header] + @body = attributes[:body] + @errors = attributes[:errors] end def success! @success = true end