Class: Digicert::Domain

Inherits:
Base
  • Object
show all
Extended by:
Findable
Includes:
Actions::All, Actions::Create, Actions::Fetch
Defined in:
lib/digicert/domain.rb

Instance Method Summary collapse

Methods included from Findable

find, find_by_object

Methods included from Actions::Create

#create, #resource_creation_path

Methods included from Actions::Base

#included

Methods included from Actions::Fetch

#fetch

Methods included from Actions::All

#all, #resources_key

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Digicert::Base

Instance Method Details

#activateObject



12
13
14
15
16
# File 'lib/digicert/domain.rb', line 12

def activate
  request_klass.new(
    :put, [resource_path, resource_id, "activate"].join("/")
  ).parse
end

#deactivateObject



18
19
20
21
22
# File 'lib/digicert/domain.rb', line 18

def deactivate
  request_klass.new(
    :put, [resource_path, resource_id, "deactivate"].join("/")
  ).parse
end