module NetSuite class Response attr_accessor :header, :body def initialize(attributes = {}) @success = attributes[:success] @header = attributes[:header] @body = attributes[:body] end def success! @success = true end def success? @success end end end