Class: FortyTwo::Response::Model::CursusUser

Inherits:
Base
  • Object
show all
Defined in:
lib/fortytwo/responses/models/cursus_user.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_atObject (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

#cursusObject (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_idObject (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_atObject (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

#gradeObject (readonly)

Returns the value of attribute grade.



10
11
12
# File 'lib/fortytwo/responses/models/cursus_user.rb', line 10

def grade
  @grade
end

#idObject (readonly)

Returns the value of attribute id.



10
11
12
# File 'lib/fortytwo/responses/models/cursus_user.rb', line 10

def id
  @id
end

#levelObject (readonly)

Returns the value of attribute level.



10
11
12
# File 'lib/fortytwo/responses/models/cursus_user.rb', line 10

def level
  @level
end

#skillsObject (readonly)

Returns the value of attribute skills.



10
11
12
# File 'lib/fortytwo/responses/models/cursus_user.rb', line 10

def skills
  @skills
end