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