Class: ABMeter::Core::User
- Inherits:
-
Object
- Object
- ABMeter::Core::User
- Defined in:
- lib/abmeter/core/user.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#user_id ⇒ Object
readonly
Returns the value of attribute user_id.
Instance Method Summary collapse
-
#initialize(user_id:, email:) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(user_id:, email:) ⇒ User
Returns a new instance of User.
8 9 10 11 |
# File 'lib/abmeter/core/user.rb', line 8 def initialize(user_id:, email:) @user_id = user_id @email = email end |
Instance Attribute Details
#email ⇒ Object (readonly)
Returns the value of attribute email.
6 7 8 |
# File 'lib/abmeter/core/user.rb', line 6 def email @email end |
#user_id ⇒ Object (readonly)
Returns the value of attribute user_id.
6 7 8 |
# File 'lib/abmeter/core/user.rb', line 6 def user_id @user_id end |