lib/netsuite/response.rb in netsuite-0.0.49 vs lib/netsuite/response.rb in netsuite-0.0.50
- old
+ new
@@ -1,10 +1,11 @@
module NetSuite
class Response
- attr_accessor :body
+ attr_accessor :header, :body
def initialize(attributes = {})
@success = attributes[:success]
+ @header = attributes[:header]
@body = attributes[:body]
end
def success!
@success = true