Class: Richard::QueuedUser
- Inherits:
-
Object
- Object
- Richard::QueuedUser
- Defined in:
- lib/richard/queued_user.rb
Instance Attribute Summary collapse
-
#blocking_duration ⇒ Object
readonly
Returns the value of attribute blocking_duration.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#user_id ⇒ Object
readonly
Returns the value of attribute user_id.
Instance Method Summary collapse
-
#initialize(options) ⇒ QueuedUser
constructor
A new instance of QueuedUser.
Constructor Details
#initialize(options) ⇒ QueuedUser
Returns a new instance of QueuedUser.
8 9 10 11 12 13 14 |
# File 'lib/richard/queued_user.rb', line 8 def initialize() @user_id = [:user_id] @name = [:name] @email = [:email] @status = [:status] @blocking_duration = [:blocking_duration] end |
Instance Attribute Details
#blocking_duration ⇒ Object (readonly)
Returns the value of attribute blocking_duration.
6 7 8 |
# File 'lib/richard/queued_user.rb', line 6 def blocking_duration @blocking_duration end |
#email ⇒ Object (readonly)
Returns the value of attribute email.
5 6 7 |
# File 'lib/richard/queued_user.rb', line 5 def email @email end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/richard/queued_user.rb', line 5 def name @name end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
6 7 8 |
# File 'lib/richard/queued_user.rb', line 6 def status @status end |
#user_id ⇒ Object (readonly)
Returns the value of attribute user_id.
5 6 7 |
# File 'lib/richard/queued_user.rb', line 5 def user_id @user_id end |