Class: QueueIt::RequestValidationResult

Inherits:
Object
  • Object
show all
Defined in:
lib/queueit_knownuserv3/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#actionTypeObject (readonly)

Returns the value of attribute actionType.



69
70
71
# File 'lib/queueit_knownuserv3/models.rb', line 69

def actionType
  @actionType
end

#eventIdObject (readonly)

Returns the value of attribute eventId.



70
71
72
# File 'lib/queueit_knownuserv3/models.rb', line 70

def eventId
  @eventId
end

#queueIdObject (readonly)

Returns the value of attribute queueId.



71
72
73
# File 'lib/queueit_knownuserv3/models.rb', line 71

def queueId
  @queueId
end

#redirectUrlObject (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

#doRedirectObject



81
82
83
# File 'lib/queueit_knownuserv3/models.rb', line 81

def doRedirect
	return !Utils.isNilOrEmpty(@redirectUrl)
end