Class: Gridspace::CallPhone
- Inherits:
-
BaseCommand
- Object
- JSONable
- BaseCommand
- Gridspace::CallPhone
- Defined in:
- lib/gridspace/commands.rb
Instance Attribute Summary collapse
-
#on_transcript ⇒ Object
Returns the value of attribute on_transcript.
-
#phone_number ⇒ Object
Returns the value of attribute phone_number.
Instance Method Summary collapse
-
#initialize(phone_number, on_transcript = nil) ⇒ CallPhone
constructor
A new instance of CallPhone.
Methods inherited from BaseCommand
Methods inherited from JSONable
Constructor Details
#initialize(phone_number, on_transcript = nil) ⇒ CallPhone
Returns a new instance of CallPhone.
74 75 76 77 |
# File 'lib/gridspace/commands.rb', line 74 def initialize phone_number, on_transcript = nil @phone_number = phone_number @on_transcript = on_transcript unless on_transcript.nil? end |
Instance Attribute Details
#on_transcript ⇒ Object
Returns the value of attribute on_transcript.
73 74 75 |
# File 'lib/gridspace/commands.rb', line 73 def on_transcript @on_transcript end |
#phone_number ⇒ Object
Returns the value of attribute phone_number.
73 74 75 |
# File 'lib/gridspace/commands.rb', line 73 def phone_number @phone_number end |