Class: Dnsimple::Struct::Service::Setting

Inherits:
Base
  • Object
show all
Defined in:
lib/dnsimple/struct/service.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

#appendString

Returns A suffix to be appended to the setting value.

Returns:

  • (String)

    A suffix to be appended to the setting value.


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

def append
  @append
end

#descriptionString

Returns The setting description.

Returns:

  • (String)

    The setting description.


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

def description
  @description
end

#exampleString

Returns An example of the setting value.

Returns:

  • (String)

    An example of the setting value.


22
23
24
# File 'lib/dnsimple/struct/service.rb', line 22

def example
  @example
end

#labelString

Returns The setting label.

Returns:

  • (String)

    The setting label.


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

def label
  @label
end

#nameString

Returns The setting name.

Returns:

  • (String)

    The setting name.


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

def name
  @name
end

#passwordBoolean

Returns Whether the setting requires a password.

Returns:

  • (Boolean)

    Whether the setting requires a password.


25
26
27
# File 'lib/dnsimple/struct/service.rb', line 25

def password
  @password
end