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.
20 21 22 |
# File 'lib/dnsimple/struct/template_record.rb', line 20 def content @content end |
#created_at ⇒ String
Returns When the template record was created in DNSimple.
29 30 31 |
# File 'lib/dnsimple/struct/template_record.rb', line 29 def created_at @created_at end |
#id ⇒ Integer
Returns The template record ID in DNSimple.
8 9 10 |
# File 'lib/dnsimple/struct/template_record.rb', line 8 def id @id end |
#name ⇒ String
Returns The template record name (without the domain name).
17 18 19 |
# File 'lib/dnsimple/struct/template_record.rb', line 17 def name @name end |
#priority ⇒ Integer
Returns The priority value, if the type of template record accepts a priority.
26 27 28 |
# File 'lib/dnsimple/struct/template_record.rb', line 26 def priority @priority end |
#template_id ⇒ Integer
Returns The template ID in DNSimple.
11 12 13 |
# File 'lib/dnsimple/struct/template_record.rb', line 11 def template_id @template_id end |
#ttl ⇒ Integer
Returns The template record TTL value.
23 24 25 |
# File 'lib/dnsimple/struct/template_record.rb', line 23 def ttl @ttl end |
#type ⇒ String
Returns The type of template record, in uppercase.
14 15 16 |
# File 'lib/dnsimple/struct/template_record.rb', line 14 def type @type end |
#updated_at ⇒ String
Returns When the template record was last updated in DNSimple.
32 33 34 |
# File 'lib/dnsimple/struct/template_record.rb', line 32 def updated_at @updated_at end |