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.7 lib/netsuite/response.rb
netsuite-0.0.6 lib/netsuite/response.rb
netsuite-0.0.5 lib/netsuite/response.rb
netsuite-0.0.4 lib/netsuite/response.rb
netsuite-0.0.3 lib/netsuite/response.rb
netsuite-0.0.2 lib/netsuite/response.rb