class ErrorItem

Attributes

Description[RW]
ErrorCode[RW]
ErrorField[RW]
SeverityCode[RW]

Public Instance Methods

to_json() click to toggle source
# File lib/mundipagg/ErrorItem.rb, line 11
def to_json
  hash = {}
  instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
  hash
end