Class: ErrorInformation
- Inherits:
-
Object
- Object
- ErrorInformation
- Defined in:
- lib/response/location/ErrorInformation.rb
Instance Method Summary collapse
- #getPolicyException ⇒ Object
- #getServiceException ⇒ Object
-
#initialize ⇒ ErrorInformation
constructor
A new instance of ErrorInformation.
- #initializeJSON(jsondict) ⇒ Object
- #setPolicyException(policyException) ⇒ Object
- #setServiceException(serviceException) ⇒ Object
Constructor Details
#initialize ⇒ ErrorInformation
Returns a new instance of ErrorInformation.
6 7 8 9 |
# File 'lib/response/location/ErrorInformation.rb', line 6 def initialize @serviceException=nil @policyException=nil end |
Instance Method Details
#getPolicyException ⇒ Object
32 33 34 |
# File 'lib/response/location/ErrorInformation.rb', line 32 def getPolicyException @policyException end |
#getServiceException ⇒ Object
24 25 26 |
# File 'lib/response/location/ErrorInformation.rb', line 24 def getServiceException @serviceException end |
#initializeJSON(jsondict) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/response/location/ErrorInformation.rb', line 11 def initializeJSON(jsondict) @serviceException=nil if (jsondict!=nil) && (jsondict.has_key?'serviceException') && (jsondict['serviceException']!=nil) then @serviceException=ServiceException.new @serviceException.initializeJSON(jsondict['serviceException']) end @policyException=nil if (jsondict!=nil) && (jsondict.has_key?'policyException') && (jsondict['policyException']!=nil) then @policyException=PolicyException.new @policyException.initializeJSON(jsondict['policyException']) end end |
#setPolicyException(policyException) ⇒ Object
36 37 38 |
# File 'lib/response/location/ErrorInformation.rb', line 36 def setPolicyException(policyException) @policyException=policyException end |
#setServiceException(serviceException) ⇒ Object
28 29 30 |
# File 'lib/response/location/ErrorInformation.rb', line 28 def setServiceException(serviceException) @serviceException=serviceException end |