Class: Dnsimple::Struct::TemplateRecord
- Defined in:
- lib/dnsimple/struct/template_record.rb
Instance Attribute Summary collapse
-
#content ⇒ String
The plain-text template record content.
-
#created_at ⇒ String
When the template record was created in DNSimple.
-
#id ⇒ Integer
The template record ID in DNSimple.
-
#name ⇒ String
The template record name (without the domain name).
-
#priority ⇒ Integer
The priority value, if the type of template record accepts a priority.
-
#template_id ⇒ Integer
The template ID in DNSimple.
-
#ttl ⇒ Integer
The template record TTL value.
-
#type ⇒ String
The type of template record, in uppercase.
-
#updated_at ⇒ String
When the template record was last updated in DNSimple.
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dnsimple::Struct::Base
Instance Attribute Details
#content ⇒ String
Returns The plain-text template record content.
18 19 20 |
# File 'lib/dnsimple/struct/template_record.rb', line 18 def content @content end |
#created_at ⇒ String
Returns When the template record was created in DNSimple.
27 28 29 |
# File 'lib/dnsimple/struct/template_record.rb', line 27 def created_at @created_at end |
#id ⇒ Integer
Returns The template record ID in DNSimple.
6 7 8 |
# File 'lib/dnsimple/struct/template_record.rb', line 6 def id @id end |
#name ⇒ String
Returns The template record name (without the domain name).
15 16 17 |
# File 'lib/dnsimple/struct/template_record.rb', line 15 def name @name end |
#priority ⇒ Integer
Returns The priority value, if the type of template record accepts a priority.
24 25 26 |
# File 'lib/dnsimple/struct/template_record.rb', line 24 def priority @priority end |
#template_id ⇒ Integer
Returns The template ID in DNSimple.
9 10 11 |
# File 'lib/dnsimple/struct/template_record.rb', line 9 def template_id @template_id end |
#ttl ⇒ Integer
Returns The template record TTL value.
21 22 23 |
# File 'lib/dnsimple/struct/template_record.rb', line 21 def ttl @ttl end |
#type ⇒ String
Returns The type of template record, in uppercase.
12 13 14 |
# File 'lib/dnsimple/struct/template_record.rb', line 12 def type @type end |
#updated_at ⇒ String
Returns When the template record was last updated in DNSimple.
30 31 32 |
# File 'lib/dnsimple/struct/template_record.rb', line 30 def updated_at @updated_at end |