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_idFixnum

Returns The associated account ID.

Returns:

  • (Fixnum)

    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

#idFixnum

Returns The template ID in DNSimple.

Returns:

  • (Fixnum)

    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

#short_nameString

Returns The short name for the template.

Returns:

  • (String)

    The short name for the template.



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

def short_name
  @short_name
end