Class: NsStruct
- Inherits:
-
Object
- Object
- NsStruct
- Defined in:
- lib/ovhrb/manager/manager.rb
Overview
http://soapi.ovh.com/managernsStruct
Constant Summary collapse
- @@schema_type =
"nsStruct"
- @@schema_ns =
"http://soapi.ovh.com/manager"
- @@schema_element =
[["name", ["SOAP::SOAPString", XSD::QName.new(nil, "name")]], ["ip", ["SOAP::SOAPString", XSD::QName.new(nil, "ip")]]]
Instance Attribute Summary collapse
-
#ip ⇒ Object
Returns the value of attribute ip.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name = nil, ip = nil) ⇒ NsStruct
constructor
A new instance of NsStruct.
Constructor Details
#initialize(name = nil, ip = nil) ⇒ NsStruct
Returns a new instance of NsStruct.
4864 4865 4866 4867 |
# File 'lib/ovhrb/manager/manager.rb', line 4864 def initialize(name = nil, ip = nil) @name = name @ip = ip end |
Instance Attribute Details
#ip ⇒ Object
Returns the value of attribute ip.
4862 4863 4864 |
# File 'lib/ovhrb/manager/manager.rb', line 4862 def ip @ip end |
#name ⇒ Object
Returns the value of attribute name.
4861 4862 4863 |
# File 'lib/ovhrb/manager/manager.rb', line 4861 def name @name end |