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.



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

def append
  @append
end

#descriptionString

Returns The setting description.

Returns:

  • (String)

    The setting description.



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

def description
  @description
end

#exampleString

Returns An example of the setting value.

Returns:

  • (String)

    An example of the setting value.



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

def example
  @example
end

#labelString

Returns The setting label.

Returns:

  • (String)

    The setting label.



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

def label
  @label
end

#nameString

Returns The setting name.

Returns:

  • (String)

    The setting name.



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

def name
  @name
end

#passwordBoolean

Returns Whether the setting requires a password.

Returns:

  • (Boolean)

    Whether the setting requires a password.



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

def password
  @password
end