Class: Proxy::Dns::Dnsmasq::Default::PTREntry
- Inherits:
-
Object
- Object
- Proxy::Dns::Dnsmasq::Default::PTREntry
- Defined in:
- lib/smart_proxy_dns_dnsmasq/backend/default.rb
Instance Attribute Summary collapse
-
#fqdn ⇒ Object
Returns the value of attribute fqdn.
-
#ip ⇒ Object
Returns the value of attribute ip.
Instance Method Summary collapse
Instance Attribute Details
#fqdn ⇒ Object
Returns the value of attribute fqdn.
150 151 152 |
# File 'lib/smart_proxy_dns_dnsmasq/backend/default.rb', line 150 def fqdn @fqdn end |
#ip ⇒ Object
Returns the value of attribute ip.
150 151 152 |
# File 'lib/smart_proxy_dns_dnsmasq/backend/default.rb', line 150 def ip @ip end |
Instance Method Details
#to_s ⇒ Object
152 153 154 |
# File 'lib/smart_proxy_dns_dnsmasq/backend/default.rb', line 152 def to_s "ptr-record=#{ip},#{fqdn}" end |