Class: NitroApi::Challenge
- Inherits:
-
Object
- Object
- NitroApi::Challenge
- Defined in:
- lib/nitro_api/challenge.rb
Instance Attribute Summary collapse
-
#completed ⇒ Object
Returns the value of attribute completed.
-
#description ⇒ Object
Returns the value of attribute description.
-
#full_url ⇒ Object
Returns the value of attribute full_url.
-
#name ⇒ Object
Returns the value of attribute name.
-
#rules ⇒ Object
Returns the value of attribute rules.
-
#thumb_url ⇒ Object
Returns the value of attribute thumb_url.
Instance Method Summary collapse
-
#initialize ⇒ Challenge
constructor
A new instance of Challenge.
Constructor Details
#initialize ⇒ Challenge
Returns a new instance of Challenge.
6 7 8 |
# File 'lib/nitro_api/challenge.rb', line 6 def initialize() @rules = [] end |
Instance Attribute Details
#completed ⇒ Object
Returns the value of attribute completed.
3 4 5 |
# File 'lib/nitro_api/challenge.rb', line 3 def completed @completed end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/nitro_api/challenge.rb', line 3 def description @description end |
#full_url ⇒ Object
Returns the value of attribute full_url.
3 4 5 |
# File 'lib/nitro_api/challenge.rb', line 3 def full_url @full_url end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/nitro_api/challenge.rb', line 3 def name @name end |
#rules ⇒ Object
Returns the value of attribute rules.
4 5 6 |
# File 'lib/nitro_api/challenge.rb', line 4 def rules @rules end |
#thumb_url ⇒ Object
Returns the value of attribute thumb_url.
3 4 5 |
# File 'lib/nitro_api/challenge.rb', line 3 def thumb_url @thumb_url end |