Class: Schemas::Sms_types::IpAddressType
- Inherits:
-
Object
- Object
- Schemas::Sms_types::IpAddressType
- Defined in:
- lib/bluevia/schemas/sms_types.rb
Overview
http://www.telefonica.com/schemas/UNICA/REST/common/v1IpAddressType
ipv4 - (any)
ipv6 - (any)
Instance Attribute Summary collapse
-
#ipv4 ⇒ Object
Returns the value of attribute ipv4.
-
#ipv6 ⇒ Object
Returns the value of attribute ipv6.
Instance Method Summary collapse
-
#initialize(ipv4 = nil, ipv6 = nil) ⇒ IpAddressType
constructor
A new instance of IpAddressType.
Constructor Details
#initialize(ipv4 = nil, ipv6 = nil) ⇒ IpAddressType
Returns a new instance of IpAddressType.
150 151 152 153 |
# File 'lib/bluevia/schemas/sms_types.rb', line 150 def initialize(ipv4 = nil, ipv6 = nil) @ipv4 = ipv4 @ipv6 = ipv6 end |
Instance Attribute Details
#ipv4 ⇒ Object
Returns the value of attribute ipv4.
147 148 149 |
# File 'lib/bluevia/schemas/sms_types.rb', line 147 def ipv4 @ipv4 end |
#ipv6 ⇒ Object
Returns the value of attribute ipv6.
148 149 150 |
# File 'lib/bluevia/schemas/sms_types.rb', line 148 def ipv6 @ipv6 end |