Class: JAPI::Clue
- Inherits:
-
Object
- Object
- JAPI::Clue
- Defined in:
- lib/japi/clue.rb
Instance Method Summary collapse
- #answer ⇒ Object
- #category_id ⇒ Object
- #clue_id ⇒ Object
- #game_id ⇒ Object
-
#initialize(options = {}) ⇒ Clue
constructor
A new instance of Clue.
- #question ⇒ Object
- #value ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Clue
Returns a new instance of Clue.
4 5 6 |
# File 'lib/japi/clue.rb', line 4 def initialize( = {}) = end |
Instance Method Details
#answer ⇒ Object
28 29 30 |
# File 'lib/japi/clue.rb', line 28 def answer ["answer"] end |
#category_id ⇒ Object
16 17 18 |
# File 'lib/japi/clue.rb', line 16 def category_id ["category_id"] end |
#clue_id ⇒ Object
12 13 14 |
# File 'lib/japi/clue.rb', line 12 def clue_id ["id"] end |
#game_id ⇒ Object
20 21 22 |
# File 'lib/japi/clue.rb', line 20 def game_id ["game_id"] end |
#question ⇒ Object
24 25 26 |
# File 'lib/japi/clue.rb', line 24 def question ["question"] end |
#value ⇒ Object
8 9 10 |
# File 'lib/japi/clue.rb', line 8 def value ["value"] end |