Class: FortyTwo::Response::Model::CursusUser
- Defined in:
- lib/fortytwo/responses/models/cursus_user.rb
Instance Attribute Summary collapse
-
#begin_at ⇒ Object
readonly
Returns the value of attribute begin_at.
-
#cursus ⇒ Object
readonly
Returns the value of attribute cursus.
-
#cursus_id ⇒ Object
readonly
Returns the value of attribute cursus_id.
-
#end_at ⇒ Object
readonly
Returns the value of attribute end_at.
-
#grade ⇒ Object
readonly
Returns the value of attribute grade.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#level ⇒ Object
readonly
Returns the value of attribute level.
-
#skills ⇒ Object
readonly
Returns the value of attribute skills.
Instance Method Summary collapse
-
#initialize(json) ⇒ CursusUser
constructor
A new instance of CursusUser.
Constructor Details
#initialize(json) ⇒ CursusUser
Returns a new instance of CursusUser.
13 14 15 16 17 18 |
# File 'lib/fortytwo/responses/models/cursus_user.rb', line 13 def initialize(json) super(json) @skills = parse(@skills, Skill) @cursus = parse(@cursus, Cursus) end |
Instance Attribute Details
#begin_at ⇒ Object (readonly)
Returns the value of attribute begin_at.
10 11 12 |
# File 'lib/fortytwo/responses/models/cursus_user.rb', line 10 def begin_at @begin_at end |
#cursus ⇒ Object (readonly)
Returns the value of attribute cursus.
10 11 12 |
# File 'lib/fortytwo/responses/models/cursus_user.rb', line 10 def cursus @cursus end |
#cursus_id ⇒ Object (readonly)
Returns the value of attribute cursus_id.
10 11 12 |
# File 'lib/fortytwo/responses/models/cursus_user.rb', line 10 def cursus_id @cursus_id end |
#end_at ⇒ Object (readonly)
Returns the value of attribute end_at.
10 11 12 |
# File 'lib/fortytwo/responses/models/cursus_user.rb', line 10 def end_at @end_at end |
#grade ⇒ Object (readonly)
Returns the value of attribute grade.
10 11 12 |
# File 'lib/fortytwo/responses/models/cursus_user.rb', line 10 def grade @grade end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
10 11 12 |
# File 'lib/fortytwo/responses/models/cursus_user.rb', line 10 def id @id end |
#level ⇒ Object (readonly)
Returns the value of attribute level.
10 11 12 |
# File 'lib/fortytwo/responses/models/cursus_user.rb', line 10 def level @level end |
#skills ⇒ Object (readonly)
Returns the value of attribute skills.
10 11 12 |
# File 'lib/fortytwo/responses/models/cursus_user.rb', line 10 def skills @skills end |