Class: Moceansdk::Modules::Voice::McObject::Sleep
- Inherits:
-
AbstractMc
- Object
- AbstractMc
- Moceansdk::Modules::Voice::McObject::Sleep
show all
- Defined in:
- lib/moceansdk/modules/voice/mc_object/sleep.rb
Instance Method Summary
collapse
Methods inherited from AbstractMc
#get_request_data, #initialize
Instance Method Details
#action ⇒ Object
15
16
17
|
# File 'lib/moceansdk/modules/voice/mc_object/sleep.rb', line 15
def action
'sleep'
end
|
#duration=(param) ⇒ Object
7
8
9
|
# File 'lib/moceansdk/modules/voice/mc_object/sleep.rb', line 7
def duration=(param)
@params[:duration] = param
end
|
#required_key ⇒ Object
11
12
13
|
# File 'lib/moceansdk/modules/voice/mc_object/sleep.rb', line 11
def required_key
['duration']
end
|