Class: Moceansdk::Modules::Voice::McObject::Dial

Inherits:
AbstractMc
  • Object
show all
Defined in:
lib/moceansdk/modules/voice/mc_object/dial.rb

Instance Method Summary collapse

Methods inherited from AbstractMc

#get_request_data, #initialize

Constructor Details

This class inherits a constructor from Moceansdk::Modules::Voice::McObject::AbstractMc

Instance Method Details

#actionObject



23
24
25
# File 'lib/moceansdk/modules/voice/mc_object/dial.rb', line 23

def action
  'dial'
end

#dial_sequentially=(param) ⇒ Object



15
16
17
# File 'lib/moceansdk/modules/voice/mc_object/dial.rb', line 15

def dial_sequentially=(param)
  @params[:'dial-sequentially'] = param
end

#from=(param) ⇒ Object



11
12
13
# File 'lib/moceansdk/modules/voice/mc_object/dial.rb', line 11

def from=(param)
  @params[:from] = param
end

#required_keyObject



19
20
21
# File 'lib/moceansdk/modules/voice/mc_object/dial.rb', line 19

def required_key
  ['to']
end

#to=(param) ⇒ Object



7
8
9
# File 'lib/moceansdk/modules/voice/mc_object/dial.rb', line 7

def to=(param)
  @params[:to] = param
end