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.



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

def 
  @account_id
end

#descriptionString

Returns The template description.

Returns:

  • (String)

    The template description.



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

def description
  @description
end

#idInteger

Returns The template ID in DNSimple.

Returns:

  • (Integer)

    The template ID in DNSimple.



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

def id
  @id
end

#nameString

Returns The template name.

Returns:

  • (String)

    The template name.



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

def name
  @name
end

#sidString

Returns The string ID for the template.

Returns:

  • (String)

    The string ID for the template.



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

def sid
  @sid
end