Class: Milestoner::Models::User
- Inherits:
-
Data
- Object
- Data
- Milestoner::Models::User
- Defined in:
- lib/milestoner/models/user.rb
Overview
Represents an external user.
Instance Attribute Summary collapse
-
#external_id ⇒ Object
readonly
Returns the value of attribute external_id.
-
#handle ⇒ Object
readonly
Returns the value of attribute handle.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(external_id: nil, handle: nil, name: nil) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(external_id: nil, handle: nil, name: nil) ⇒ User
Returns a new instance of User.
7 8 9 |
# File 'lib/milestoner/models/user.rb', line 7 def initialize external_id: nil, handle: nil, name: nil super end |
Instance Attribute Details
#external_id ⇒ Object (readonly)
Returns the value of attribute external_id
6 7 8 |
# File 'lib/milestoner/models/user.rb', line 6 def external_id @external_id end |
#handle ⇒ Object (readonly)
Returns the value of attribute handle
6 7 8 |
# File 'lib/milestoner/models/user.rb', line 6 def handle @handle end |
#name ⇒ Object (readonly)
Returns the value of attribute name
6 7 8 |
# File 'lib/milestoner/models/user.rb', line 6 def name @name end |