Class: Moceansdk::Modules::Voice::McObject::Collect
- Inherits:
-
AbstractMc
- Object
- AbstractMc
- Moceansdk::Modules::Voice::McObject::Collect
show all
- Defined in:
- lib/moceansdk/modules/voice/mc_object/collect.rb
Instance Method Summary
collapse
Methods inherited from AbstractMc
#get_request_data, #initialize
Instance Method Details
#action ⇒ Object
31
32
33
|
# File 'lib/moceansdk/modules/voice/mc_object/collect.rb', line 31
def action
'collect'
end
|
#event_url=(param) ⇒ Object
7
8
9
|
# File 'lib/moceansdk/modules/voice/mc_object/collect.rb', line 7
def event_url=(param)
@params[:'event-url'] = param
end
|
#maximum=(param) ⇒ Object
15
16
17
|
# File 'lib/moceansdk/modules/voice/mc_object/collect.rb', line 15
def maximum=(param)
@params[:max] = param
end
|
#minimum=(param) ⇒ Object
11
12
13
|
# File 'lib/moceansdk/modules/voice/mc_object/collect.rb', line 11
def minimum=(param)
@params[:min] = param
end
|
#required_key ⇒ Object
27
28
29
|
# File 'lib/moceansdk/modules/voice/mc_object/collect.rb', line 27
def required_key
['event-url', 'min', 'max', 'timeout']
end
|
#terminators=(param) ⇒ Object
19
20
21
|
# File 'lib/moceansdk/modules/voice/mc_object/collect.rb', line 19
def terminators=(param)
@params[:terminators] = param
end
|
#timeout=(param) ⇒ Object
23
24
25
|
# File 'lib/moceansdk/modules/voice/mc_object/collect.rb', line 23
def timeout=(param)
@params[:timeout] = param
end
|