Class: Gridspace::GetDigits
- Inherits:
-
BaseCommand
- Object
- JSONable
- BaseCommand
- Gridspace::GetDigits
- Defined in:
- lib/gridspace/commands.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
Returns the value of attribute count.
-
#prompt ⇒ Object
Returns the value of attribute prompt.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(count, prompt, url) ⇒ GetDigits
constructor
A new instance of GetDigits.
Methods inherited from BaseCommand
Methods inherited from JSONable
Constructor Details
#initialize(count, prompt, url) ⇒ GetDigits
Returns a new instance of GetDigits.
45 46 47 48 49 |
# File 'lib/gridspace/commands.rb', line 45 def initialize count, prompt, url @count = count @prompt = prompt @url = url end |
Instance Attribute Details
#count ⇒ Object
Returns the value of attribute count.
44 45 46 |
# File 'lib/gridspace/commands.rb', line 44 def count @count end |
#prompt ⇒ Object
Returns the value of attribute prompt.
44 45 46 |
# File 'lib/gridspace/commands.rb', line 44 def prompt @prompt end |
#url ⇒ Object
Returns the value of attribute url.
44 45 46 |
# File 'lib/gridspace/commands.rb', line 44 def url @url end |