Class: CallbackReference
- Inherits:
-
Object
- Object
- CallbackReference
- Defined in:
- lib/response/mms/CallbackReference.rb,
lib/response/sms/CallbackReference.rb
Instance Method Summary collapse
- #getCallbackData ⇒ Object
- #getNotifyURL ⇒ Object
-
#initialize ⇒ CallbackReference
constructor
A new instance of CallbackReference.
- #initializeJSON(jsondict) ⇒ Object
- #setCallbackData(callbackData) ⇒ Object
- #setNotifyURL(notifyURL) ⇒ Object
Constructor Details
#initialize ⇒ CallbackReference
Returns a new instance of CallbackReference.
4 5 6 7 |
# File 'lib/response/mms/CallbackReference.rb', line 4 def initialize @notifyURL=nil @callbackData=nil end |
Instance Method Details
#getCallbackData ⇒ Object
28 29 30 |
# File 'lib/response/mms/CallbackReference.rb', line 28 def getCallbackData @callbackData end |
#getNotifyURL ⇒ Object
20 21 22 |
# File 'lib/response/mms/CallbackReference.rb', line 20 def getNotifyURL @notifyURL end |
#initializeJSON(jsondict) ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/response/mms/CallbackReference.rb', line 9 def initializeJSON(jsondict) @notifyURL=nil if (jsondict!=nil) && (jsondict.has_key?'notifyURL') && (jsondict['notifyURL']!=nil) @notifyURL=jsondict['notifyURL'] end @callbackData=nil if (jsondict!=nil) && (jsondict.has_key?'callbackData') && (jsondict['callbackData']!=nil) @callbackData=jsondict['callbackData'] end end |
#setCallbackData(callbackData) ⇒ Object
32 33 34 |
# File 'lib/response/mms/CallbackReference.rb', line 32 def setCallbackData(callbackData) @callbackData=callbackData end |
#setNotifyURL(notifyURL) ⇒ Object
24 25 26 |
# File 'lib/response/mms/CallbackReference.rb', line 24 def setNotifyURL(notifyURL) @notifyURL=notifyURL end |