Class: DomainHostInfoReturn
- Inherits:
-
Object
- Object
- DomainHostInfoReturn
- Defined in:
- lib/ovhrb/manager/manager.rb
Overview
http://soapi.ovh.com/managerdomainHostInfoReturn
Constant Summary collapse
- @@schema_type =
"domainHostInfoReturn"
- @@schema_ns =
"http://soapi.ovh.com/manager"
- @@schema_element =
[["hostname", ["SOAP::SOAPString", XSD::QName.new(nil, "hostname")]], ["ipv4", ["SOAP::SOAPString", XSD::QName.new(nil, "ipv4")]], ["ipv6", ["SOAP::SOAPString", XSD::QName.new(nil, "ipv6")]]]
Instance Attribute Summary collapse
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#ipv4 ⇒ Object
Returns the value of attribute ipv4.
-
#ipv6 ⇒ Object
Returns the value of attribute ipv6.
Instance Method Summary collapse
-
#initialize(hostname = nil, ipv4 = nil, ipv6 = nil) ⇒ DomainHostInfoReturn
constructor
A new instance of DomainHostInfoReturn.
Constructor Details
#initialize(hostname = nil, ipv4 = nil, ipv6 = nil) ⇒ DomainHostInfoReturn
Returns a new instance of DomainHostInfoReturn.
4914 4915 4916 4917 4918 |
# File 'lib/ovhrb/manager/manager.rb', line 4914 def initialize(hostname = nil, ipv4 = nil, ipv6 = nil) @hostname = hostname @ipv4 = ipv4 @ipv6 = ipv6 end |
Instance Attribute Details
#hostname ⇒ Object
Returns the value of attribute hostname.
4910 4911 4912 |
# File 'lib/ovhrb/manager/manager.rb', line 4910 def hostname @hostname end |
#ipv4 ⇒ Object
Returns the value of attribute ipv4.
4911 4912 4913 |
# File 'lib/ovhrb/manager/manager.rb', line 4911 def ipv4 @ipv4 end |
#ipv6 ⇒ Object
Returns the value of attribute ipv6.
4912 4913 4914 |
# File 'lib/ovhrb/manager/manager.rb', line 4912 def ipv6 @ipv6 end |