Class: TelephonyLineSwitchOldOfferStruct

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

Overview

http://soapi.ovh.com/managertelephonyLineSwitchOldOfferStruct

Constant Summary collapse

@@schema_type =
"telephonyLineSwitchOldOfferStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["number", ["SOAP::SOAPString", XSD::QName.new(nil, "number")]], ["offers", ["MyArrayOfTelephonyLineSwitchPossibilityPriceStructType", XSD::QName.new(nil, "offers")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(number = nil, offers = nil) ⇒ TelephonyLineSwitchOldOfferStruct

Returns a new instance of TelephonyLineSwitchOldOfferStruct.



386
387
388
389
# File 'lib/ovhrb/manager/manager.rb', line 386

def initialize(number = nil, offers = nil)
  @number = number
  @offers = offers
end

Instance Attribute Details

#numberObject

Returns the value of attribute number.



383
384
385
# File 'lib/ovhrb/manager/manager.rb', line 383

def number
  @number
end

#offersObject

Returns the value of attribute offers.



384
385
386
# File 'lib/ovhrb/manager/manager.rb', line 384

def offers
  @offers
end