Class: Dnsimple::Service

Inherits:
Base
  • Object
show all
Defined in:
lib/dnsimple/service.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dnsimple::Base

Instance Attribute Details

#descriptionString

Returns The description.

Returns:

  • (String)

    The description.



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

def description
  @description
end

#idFixnum

Returns The service ID in DNSimple.

Returns:

  • (Fixnum)

    The service ID in DNSimple.



5
6
7
# File 'lib/dnsimple/service.rb', line 5

def id
  @id
end

#nameString

Returns The service name.

Returns:

  • (String)

    The service name.



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

def name
  @name
end

#short_nameString

Returns The URI-compatible slug.

Returns:

  • (String)

    The URI-compatible slug.



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

def short_name
  @short_name
end