Class: LearnWeb::Client::ValidateRepo::Slug
- Inherits:
-
Object
- Object
- LearnWeb::Client::ValidateRepo::Slug
- Includes:
- AttributePopulatable
- Defined in:
- lib/learn_web/client/validate_repo/slug.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#dot_learn ⇒ Object
Returns the value of attribute dot_learn.
-
#lab ⇒ Object
Returns the value of attribute lab.
-
#later_lesson ⇒ Object
Returns the value of attribute later_lesson.
-
#lesson_id ⇒ Object
Returns the value of attribute lesson_id.
-
#repo_name ⇒ Object
Returns the value of attribute repo_name.
-
#repo_slug ⇒ Object
Returns the value of attribute repo_slug.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ Slug
constructor
A new instance of Slug.
Methods included from AttributePopulatable
Constructor Details
#initialize(response) ⇒ Slug
Returns a new instance of Slug.
11 12 13 14 15 |
# File 'lib/learn_web/client/validate_repo/slug.rb', line 11 def initialize(response) @response = response parse! end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
5 6 7 |
# File 'lib/learn_web/client/validate_repo/slug.rb', line 5 def data @data end |
#dot_learn ⇒ Object
Returns the value of attribute dot_learn.
5 6 7 |
# File 'lib/learn_web/client/validate_repo/slug.rb', line 5 def dot_learn @dot_learn end |
#lab ⇒ Object
Returns the value of attribute lab.
5 6 7 |
# File 'lib/learn_web/client/validate_repo/slug.rb', line 5 def lab @lab end |
#later_lesson ⇒ Object
Returns the value of attribute later_lesson.
5 6 7 |
# File 'lib/learn_web/client/validate_repo/slug.rb', line 5 def later_lesson @later_lesson end |
#lesson_id ⇒ Object
Returns the value of attribute lesson_id.
5 6 7 |
# File 'lib/learn_web/client/validate_repo/slug.rb', line 5 def lesson_id @lesson_id end |
#repo_name ⇒ Object
Returns the value of attribute repo_name.
5 6 7 |
# File 'lib/learn_web/client/validate_repo/slug.rb', line 5 def repo_name @repo_name end |
#repo_slug ⇒ Object
Returns the value of attribute repo_slug.
5 6 7 |
# File 'lib/learn_web/client/validate_repo/slug.rb', line 5 def repo_slug @repo_slug end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
7 8 9 |
# File 'lib/learn_web/client/validate_repo/slug.rb', line 7 def response @response end |