Class: ActivePublicResources::ResponseTypes::Exercise
- Inherits:
-
BaseResponseType
- Object
- BaseResponseType
- ActivePublicResources::ResponseTypes::Exercise
- Defined in:
- lib/active_public_resources/response_types/exercise.rb
Instance Attribute Summary collapse
-
#thumbnail_url ⇒ Object
Returns the value of attribute thumbnail_url.
-
#url ⇒ Object
Returns the value of attribute url.
Attributes inherited from BaseResponseType
#description, #id, #kind, #return_types, #title
Instance Method Summary collapse
-
#initialize ⇒ Exercise
constructor
A new instance of Exercise.
Methods inherited from BaseResponseType
Constructor Details
#initialize ⇒ Exercise
Returns a new instance of Exercise.
6 7 8 9 |
# File 'lib/active_public_resources/response_types/exercise.rb', line 6 def initialize super @kind = 'exercise' end |
Instance Attribute Details
#thumbnail_url ⇒ Object
Returns the value of attribute thumbnail_url.
4 5 6 |
# File 'lib/active_public_resources/response_types/exercise.rb', line 4 def thumbnail_url @thumbnail_url end |
#url ⇒ Object
Returns the value of attribute url.
4 5 6 |
# File 'lib/active_public_resources/response_types/exercise.rb', line 4 def url @url end |