Class: TelephonyToneStatusReturn

Inherits:
Object
  • Object
show all
Defined in:
lib/ovhrb/manager/manager.rb

Overview

http://soapi.ovh.com/managertelephonyToneStatusReturn

Constant Summary collapse

@@schema_type =
"telephonyToneStatusReturn"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["ringback", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "ringback")]], ["onhold", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "onhold")]], ["onclosure", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "onclosure")]], ["callwaiting", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "callwaiting")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ringback = nil, onhold = nil, onclosure = nil, callwaiting = nil) ⇒ TelephonyToneStatusReturn

Returns a new instance of TelephonyToneStatusReturn.



1330
1331
1332
1333
1334
1335
# File 'lib/ovhrb/manager/manager.rb', line 1330

def initialize(ringback = nil, onhold = nil, onclosure = nil, callwaiting = nil)
  @ringback = ringback
  @onhold = onhold
  @onclosure = onclosure
  @callwaiting = callwaiting
end

Instance Attribute Details

#callwaitingObject

Returns the value of attribute callwaiting.



1328
1329
1330
# File 'lib/ovhrb/manager/manager.rb', line 1328

def callwaiting
  @callwaiting
end

#onclosureObject

Returns the value of attribute onclosure.



1327
1328
1329
# File 'lib/ovhrb/manager/manager.rb', line 1327

def onclosure
  @onclosure
end

#onholdObject

Returns the value of attribute onhold.



1326
1327
1328
# File 'lib/ovhrb/manager/manager.rb', line 1326

def onhold
  @onhold
end

#ringbackObject

Returns the value of attribute ringback.



1325
1326
1327
# File 'lib/ovhrb/manager/manager.rb', line 1325

def ringback
  @ringback
end