Class: LearnWeb::Client::ValidateRepo::Slug

Inherits:
Object
  • Object
show all
Includes:
AttributePopulatable
Defined in:
lib/learn_web/client/validate_repo/slug.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from AttributePopulatable

included

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

#dataObject

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_learnObject

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

#labObject

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_lessonObject

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_idObject

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_nameObject

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_slugObject

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

#responseObject (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