Class: ErrorItem
- Inherits:
-
Object
- Object
- ErrorItem
- Defined in:
- lib/mundipagg/ErrorItem.rb
Instance Attribute Summary collapse
-
#Description ⇒ Object
Returns the value of attribute Description.
-
#ErrorCode ⇒ Object
Returns the value of attribute ErrorCode.
-
#ErrorField ⇒ Object
Returns the value of attribute ErrorField.
-
#SeverityCode ⇒ Object
Returns the value of attribute SeverityCode.
Instance Method Summary collapse
Instance Attribute Details
#Description ⇒ Object
Returns the value of attribute Description.
7 8 9 |
# File 'lib/mundipagg/ErrorItem.rb', line 7 def Description @Description end |
#ErrorCode ⇒ Object
Returns the value of attribute ErrorCode.
3 4 5 |
# File 'lib/mundipagg/ErrorItem.rb', line 3 def ErrorCode @ErrorCode end |
#ErrorField ⇒ Object
Returns the value of attribute ErrorField.
5 6 7 |
# File 'lib/mundipagg/ErrorItem.rb', line 5 def ErrorField @ErrorField end |
#SeverityCode ⇒ Object
Returns the value of attribute SeverityCode.
9 10 11 |
# File 'lib/mundipagg/ErrorItem.rb', line 9 def SeverityCode @SeverityCode end |
Instance Method Details
#to_json ⇒ Object
11 12 13 14 15 |
# 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 |