Class: QueueIt::StateInfo
- Inherits:
-
Object
- Object
- QueueIt::StateInfo
- Defined in:
- lib/queueit_knownuserv3/user_in_queue_state_cookie_repository.rb
Instance Attribute Summary collapse
-
#expires ⇒ Object
readonly
used just for unit tests.
-
#isStateExtendable ⇒ Object
readonly
Returns the value of attribute isStateExtendable.
-
#isValid ⇒ Object
readonly
Returns the value of attribute isValid.
-
#queueId ⇒ Object
readonly
Returns the value of attribute queueId.
Instance Method Summary collapse
-
#initialize(isValid, queueId, isStateExtendable, expires) ⇒ StateInfo
constructor
A new instance of StateInfo.
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
#expires ⇒ Object (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 |
#isStateExtendable ⇒ Object (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 |
#isValid ⇒ Object (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 |
#queueId ⇒ Object (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 |