Class: QueueIt::StateInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(isValid, queueId, isStateExtendable, expires) ⇒ StateInfo

Returns a new instance of StateInfo.



118
119
120
121
122
123
# File 'lib/queueit_knownuserv3/user_in_queue_state_cookie_repository.rb', line 118

def initialize(isValid, queueId, isStateExtendable, expires) 
	@isValid = isValid
	@queueId = queueId
	@isStateExtendable = isStateExtendable
	@expires = expires
end

Instance Attribute Details

#expiresObject (readonly)

used just for unit tests



116
117
118
# File 'lib/queueit_knownuserv3/user_in_queue_state_cookie_repository.rb', line 116

def expires
  @expires
end

#isStateExtendableObject (readonly)

Returns the value of attribute isStateExtendable.



115
116
117
# File 'lib/queueit_knownuserv3/user_in_queue_state_cookie_repository.rb', line 115

def isStateExtendable
  @isStateExtendable
end

#isValidObject (readonly)

Returns the value of attribute isValid.



113
114
115
# File 'lib/queueit_knownuserv3/user_in_queue_state_cookie_repository.rb', line 113

def isValid
  @isValid
end

#queueIdObject (readonly)

Returns the value of attribute queueId.



114
115
116
# File 'lib/queueit_knownuserv3/user_in_queue_state_cookie_repository.rb', line 114

def queueId
  @queueId
end