Class: LearnWeb::Client::Lesson::NextLesson
- Inherits:
-
Object
- Object
- LearnWeb::Client::Lesson::NextLesson
- Includes:
- AttributePopulatable, ResponseParsable
- Defined in:
- lib/learn_web/client/lesson/next_lesson.rb
Instance Attribute Summary collapse
-
#assessments ⇒ Object
Returns the value of attribute assessments.
-
#clone_repo ⇒ Object
Returns the value of attribute clone_repo.
-
#data ⇒ Object
Returns the value of attribute data.
-
#dot_learn ⇒ Object
Returns the value of attribute dot_learn.
-
#forked_repo ⇒ Object
Returns the value of attribute forked_repo.
-
#github_repo ⇒ Object
Returns the value of attribute github_repo.
-
#id ⇒ Object
Returns the value of attribute id.
-
#lab ⇒ Object
Returns the value of attribute lab.
-
#link ⇒ Object
Returns the value of attribute link.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(response) ⇒ NextLesson
constructor
A new instance of NextLesson.
Methods included from ResponseParsable
Methods included from AttributePopulatable
Constructor Details
#initialize(response) ⇒ NextLesson
Returns a new instance of NextLesson.
12 13 14 15 16 |
# File 'lib/learn_web/client/lesson/next_lesson.rb', line 12 def initialize(response) @response = response parse! end |
Instance Attribute Details
#assessments ⇒ Object
Returns the value of attribute assessments.
6 7 8 |
# File 'lib/learn_web/client/lesson/next_lesson.rb', line 6 def assessments @assessments end |
#clone_repo ⇒ Object
Returns the value of attribute clone_repo.
6 7 8 |
# File 'lib/learn_web/client/lesson/next_lesson.rb', line 6 def clone_repo @clone_repo end |
#data ⇒ Object
Returns the value of attribute data.
6 7 8 |
# File 'lib/learn_web/client/lesson/next_lesson.rb', line 6 def data @data end |
#dot_learn ⇒ Object
Returns the value of attribute dot_learn.
6 7 8 |
# File 'lib/learn_web/client/lesson/next_lesson.rb', line 6 def dot_learn @dot_learn end |
#forked_repo ⇒ Object
Returns the value of attribute forked_repo.
6 7 8 |
# File 'lib/learn_web/client/lesson/next_lesson.rb', line 6 def forked_repo @forked_repo end |
#github_repo ⇒ Object
Returns the value of attribute github_repo.
6 7 8 |
# File 'lib/learn_web/client/lesson/next_lesson.rb', line 6 def github_repo @github_repo end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/learn_web/client/lesson/next_lesson.rb', line 6 def id @id end |
#lab ⇒ Object
Returns the value of attribute lab.
6 7 8 |
# File 'lib/learn_web/client/lesson/next_lesson.rb', line 6 def lab @lab end |
#link ⇒ Object
Returns the value of attribute link.
6 7 8 |
# File 'lib/learn_web/client/lesson/next_lesson.rb', line 6 def link @link end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
5 6 7 |
# File 'lib/learn_web/client/lesson/next_lesson.rb', line 5 def response @response end |
#title ⇒ Object
Returns the value of attribute title.
6 7 8 |
# File 'lib/learn_web/client/lesson/next_lesson.rb', line 6 def title @title end |