Class: FortyTwo::Response::Model::ProjectUser
- Defined in:
- lib/fortytwo/responses/models/project_user.rb
Instance Attribute Summary collapse
-
#current_team_id ⇒ Object
readonly
Returns the value of attribute current_team_id.
-
#cursus_ids ⇒ Object
readonly
Returns the value of attribute cursus_ids.
-
#final_mark ⇒ Object
readonly
Returns the value of attribute final_mark.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#occurence ⇒ Object
readonly
Returns the value of attribute occurence.
-
#project ⇒ Object
readonly
Returns the value of attribute project.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#validated ⇒ Object
readonly
Returns the value of attribute validated.
Instance Method Summary collapse
-
#initialize(json) ⇒ ProjectUser
constructor
A new instance of ProjectUser.
Constructor Details
#initialize(json) ⇒ ProjectUser
Returns a new instance of ProjectUser.
11 12 13 14 15 |
# File 'lib/fortytwo/responses/models/project_user.rb', line 11 def initialize(json) super(json) @project = parse(@project, Project) end |
Instance Attribute Details
#current_team_id ⇒ Object (readonly)
Returns the value of attribute current_team_id.
8 9 10 |
# File 'lib/fortytwo/responses/models/project_user.rb', line 8 def current_team_id @current_team_id end |
#cursus_ids ⇒ Object (readonly)
Returns the value of attribute cursus_ids.
8 9 10 |
# File 'lib/fortytwo/responses/models/project_user.rb', line 8 def cursus_ids @cursus_ids end |
#final_mark ⇒ Object (readonly)
Returns the value of attribute final_mark.
8 9 10 |
# File 'lib/fortytwo/responses/models/project_user.rb', line 8 def final_mark @final_mark end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
8 9 10 |
# File 'lib/fortytwo/responses/models/project_user.rb', line 8 def id @id end |
#occurence ⇒ Object (readonly)
Returns the value of attribute occurence.
8 9 10 |
# File 'lib/fortytwo/responses/models/project_user.rb', line 8 def occurence @occurence end |
#project ⇒ Object (readonly)
Returns the value of attribute project.
8 9 10 |
# File 'lib/fortytwo/responses/models/project_user.rb', line 8 def project @project end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
8 9 10 |
# File 'lib/fortytwo/responses/models/project_user.rb', line 8 def status @status end |
#validated ⇒ Object (readonly)
Returns the value of attribute validated.
8 9 10 |
# File 'lib/fortytwo/responses/models/project_user.rb', line 8 def validated @validated end |