Class: Gridspace::CallClient
- Inherits:
-
BaseCommand
- Object
- JSONable
- BaseCommand
- Gridspace::CallClient
- Defined in:
- lib/gridspace/commands.rb
Overview
CallClient is a command to call a client id with a specific transcription URL.
Instance Attribute Summary collapse
-
#client_name ⇒ Object
Returns the value of attribute client_name.
-
#on_transcript ⇒ Object
Returns the value of attribute on_transcript.
Instance Method Summary collapse
-
#initialize(client_name, on_transcript = nil) ⇒ CallClient
constructor
A new instance of CallClient.
Methods inherited from BaseCommand
Methods inherited from JSONable
Constructor Details
#initialize(client_name, on_transcript = nil) ⇒ CallClient
Returns a new instance of CallClient.
66 67 68 69 |
# File 'lib/gridspace/commands.rb', line 66 def initialize client_name, on_transcript = nil @client_name = client_name @on_transcript = on_transcript unless on_transcript.nil? end |
Instance Attribute Details
#client_name ⇒ Object
Returns the value of attribute client_name.
65 66 67 |
# File 'lib/gridspace/commands.rb', line 65 def client_name @client_name end |
#on_transcript ⇒ Object
Returns the value of attribute on_transcript.
65 66 67 |
# File 'lib/gridspace/commands.rb', line 65 def on_transcript @on_transcript end |