Sha256: e2caae2adf57b8ddbd9a489e71b593ee5d52dc025e24a6898530a36a6c6f440e

Contents?: true

Size: 275 Bytes

Versions: 46

Compression:

Stored size: 275 Bytes

Contents

module NetSuite
  class Response
    attr_accessor :body

    def initialize(attributes = {})
      @success = attributes[:success]
      @body    = attributes[:body]
    end

    def success!
      @success = true
    end

    def success?
      @success
    end

  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
netsuite-0.0.49 lib/netsuite/response.rb
netsuite-0.0.48 lib/netsuite/response.rb
netsuite-0.0.47 lib/netsuite/response.rb
netsuite-0.0.45 lib/netsuite/response.rb
netsuite-0.0.44 lib/netsuite/response.rb
netsuite-0.0.43 lib/netsuite/response.rb
netsuite-0.0.42 lib/netsuite/response.rb
netsuite-0.0.41 lib/netsuite/response.rb
netsuite-0.0.40 lib/netsuite/response.rb
netsuite-0.0.39 lib/netsuite/response.rb
netsuite-0.0.38 lib/netsuite/response.rb
netsuite-0.0.37 lib/netsuite/response.rb
netsuite-0.0.36 lib/netsuite/response.rb
netsuite-0.0.35 lib/netsuite/response.rb
netsuite-0.0.34 lib/netsuite/response.rb
netsuite-0.0.33 lib/netsuite/response.rb
netsuite-0.0.32 lib/netsuite/response.rb
netsuite-0.0.31 lib/netsuite/response.rb
netsuite-0.0.30 lib/netsuite/response.rb
netsuite-0.0.29 lib/netsuite/response.rb