Class: ActivePublicResources::ResponseTypes::Exercise

Inherits:
BaseResponseType show all
Defined in:
lib/active_public_resources/response_types/exercise.rb

Instance Attribute Summary collapse

Attributes inherited from BaseResponseType

#description, #id, #kind, #return_types, #title

Instance Method Summary collapse

Methods inherited from BaseResponseType

#attributes

Constructor Details

#initializeExercise

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_urlObject

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

#urlObject

Returns the value of attribute url.



4
5
6
# File 'lib/active_public_resources/response_types/exercise.rb', line 4

def url
  @url
end