Sha256: 3ca87d62aebbf1c2aa6213f9a1528fc408ba257ee5b904d1004f3d3274ca5d7e

Contents?: true

Size: 803 Bytes

Versions: 3

Compression:

Stored size: 803 Bytes

Contents

module Mortise
  class Issue
    attr_reader :bp_id, :certainty, :error_description, :error_snippet,
                :error_title, :position, :priority, :result_title, :signature,
                :standards, :t_id, :xpath

    def initialize(data)
      @bp_id             = data['bpID']
      @certainty         = data['certainty']
      @error_description = data['errorDescription']
      @error_snippet     = data['errorSnippet']
      @error_title       = data['errorTitle']
      @position          = data['position']
      @priority          = data['priority']
      @result_title      = data['resultTitle']
      @signature         = data['signature']
      @standards         = data['standards']
      @t_id              = data['tID']
      @xpath             = data['xpath']
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mortise-0.3.0 lib/mortise/issue.rb
mortise-0.2.0 lib/mortise/issue.rb
mortise-0.1.0 lib/mortise/issue.rb