Method: DeliveryInfoNotification#initializeJSON
- Defined in:
-
lib/response/mms/DeliveryInfoNotification.rb,
lib/response/sms/DeliveryInfoNotification.rb
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/response/mms/DeliveryInfoNotification.rb', line 10 def initializeJSON(jsondict) @callbackData=nil if (jsondict!=nil) && (jsondict.has_key?'callbackData') && (jsondict['callbackData']!=nil) @callbackData=jsondict['callbackData'] end @deliveryInfo=nil if (jsondict!=nil) && (jsondict.has_key?'deliveryInfo') && (jsondict['deliveryInfo']!=nil) then @deliveryInfo=DeliveryInfo.new @deliveryInfo.initializeJSON(jsondict['deliveryInfo']) end end |