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