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.



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

def 
  @account_id
end

#descriptionString

Returns The template description.

Returns:

  • (String)

    The template description.



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

def description
  @description
end

#idInteger

Returns The template ID in DNSimple.

Returns:

  • (Integer)

    The template ID in DNSimple.



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

def id
  @id
end

#nameString

Returns The template name.

Returns:

  • (String)

    The template name.



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

def name
  @name
end

#sidString

Returns The string ID for the template.

Returns:

  • (String)

    The string ID for the template.



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

def sid
  @sid
end