Class: Dnsimple::Struct::Template

Inherits:
Base
  • Object
show all
Defined in:
lib/dnsimple/struct/template.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dnsimple::Struct::Base

Instance Attribute Details

#account_idInteger

Returns The associated account ID.

Returns:

  • (Integer)

    The associated account ID.



10
11
12
# File 'lib/dnsimple/struct/template.rb', line 10

def 
  @account_id
end

#descriptionString

Returns The template description.

Returns:

  • (String)

    The template description.



19
20
21
# File 'lib/dnsimple/struct/template.rb', line 19

def description
  @description
end

#idInteger

Returns The template ID in DNSimple.

Returns:

  • (Integer)

    The template ID in DNSimple.



7
8
9
# File 'lib/dnsimple/struct/template.rb', line 7

def id
  @id
end

#nameString

Returns The template name.

Returns:

  • (String)

    The template name.



13
14
15
# File 'lib/dnsimple/struct/template.rb', line 13

def name
  @name
end

#sidString

Returns The string ID for the template.

Returns:

  • (String)

    The string ID for the template.



16
17
18
# File 'lib/dnsimple/struct/template.rb', line 16

def sid
  @sid
end