Class: DNSRecordUpdater::DNSProvider
- Inherits:
-
Object
- Object
- DNSRecordUpdater::DNSProvider
- Defined in:
- lib/dns_record_updater/dns_provider.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#record_name ⇒ Object
readonly
Returns the value of attribute record_name.
Instance Method Summary collapse
Instance Attribute Details
#record_name ⇒ Object (readonly)
Returns the value of attribute record_name.
3 4 5 |
# File 'lib/dns_record_updater/dns_provider.rb', line 3 def record_name @record_name end |
Instance Method Details
#fetch_dns_record ⇒ Object
5 6 7 |
# File 'lib/dns_record_updater/dns_provider.rb', line 5 def fetch_dns_record raise NotImplementedError, "Must be implemented by a provider" end |
#update_dns_record(ip, record_id) ⇒ Object
9 10 11 |
# File 'lib/dns_record_updater/dns_provider.rb', line 9 def update_dns_record(ip, record_id) raise NotImplementedError, "Must be implemented by a provider" end |