Class: QueueIt::RequestValidationResult
- Inherits:
-
Object
- Object
- QueueIt::RequestValidationResult
- Defined in:
- lib/queueit_knownuserv3/models.rb
Instance Attribute Summary collapse
-
#actionType ⇒ Object
readonly
Returns the value of attribute actionType.
-
#eventId ⇒ Object
readonly
Returns the value of attribute eventId.
-
#queueId ⇒ Object
readonly
Returns the value of attribute queueId.
-
#redirectUrl ⇒ Object
readonly
Returns the value of attribute redirectUrl.
Instance Method Summary collapse
- #doRedirect ⇒ Object
-
#initialize(actionType, eventId, queueId, redirectUrl) ⇒ RequestValidationResult
constructor
A new instance of RequestValidationResult.
Constructor Details
#initialize(actionType, eventId, queueId, redirectUrl) ⇒ RequestValidationResult
Returns a new instance of RequestValidationResult.
74 75 76 77 78 79 |
# File 'lib/queueit_knownuserv3/models.rb', line 74 def initialize(actionType, eventId, queueId, redirectUrl) @actionType = actionType @eventId = eventId @queueId = queueId @redirectUrl = redirectUrl end |
Instance Attribute Details
#actionType ⇒ Object (readonly)
Returns the value of attribute actionType.
69 70 71 |
# File 'lib/queueit_knownuserv3/models.rb', line 69 def actionType @actionType end |
#eventId ⇒ Object (readonly)
Returns the value of attribute eventId.
70 71 72 |
# File 'lib/queueit_knownuserv3/models.rb', line 70 def eventId @eventId end |
#queueId ⇒ Object (readonly)
Returns the value of attribute queueId.
71 72 73 |
# File 'lib/queueit_knownuserv3/models.rb', line 71 def queueId @queueId end |
#redirectUrl ⇒ Object (readonly)
Returns the value of attribute redirectUrl.
72 73 74 |
# File 'lib/queueit_knownuserv3/models.rb', line 72 def redirectUrl @redirectUrl end |
Instance Method Details
#doRedirect ⇒ Object
81 82 83 |
# File 'lib/queueit_knownuserv3/models.rb', line 81 def doRedirect return !Utils.isNilOrEmpty(@redirectUrl) end |