Class: NitroApi::Challenge

Inherits:
Object
  • Object
show all
Defined in:
lib/nitro_api/challenge.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeChallenge

Returns a new instance of Challenge.



6
7
8
# File 'lib/nitro_api/challenge.rb', line 6

def initialize()
  @rules = []
end

Instance Attribute Details

#completedObject

Returns the value of attribute completed.



3
4
5
# File 'lib/nitro_api/challenge.rb', line 3

def completed
  @completed
end

#descriptionObject

Returns the value of attribute description.



3
4
5
# File 'lib/nitro_api/challenge.rb', line 3

def description
  @description
end

#full_urlObject

Returns the value of attribute full_url.



3
4
5
# File 'lib/nitro_api/challenge.rb', line 3

def full_url
  @full_url
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/nitro_api/challenge.rb', line 3

def name
  @name
end

#rulesObject

Returns the value of attribute rules.



4
5
6
# File 'lib/nitro_api/challenge.rb', line 4

def rules
  @rules
end

#thumb_urlObject

Returns the value of attribute thumb_url.



3
4
5
# File 'lib/nitro_api/challenge.rb', line 3

def thumb_url
  @thumb_url
end