Module: Digicert::Actions::Update

Extended by:
Base
Included in:
CertificateRequest
Defined in:
lib/digicert/actions/update.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Methods included from Base

included

Instance Method Details

#resource_update_pathObject



14
15
16
# File 'lib/digicert/actions/update.rb', line 14

def resource_update_path
  [resource_path, resource_id].join("/")
end

#updateObject



8
9
10
11
12
# File 'lib/digicert/actions/update.rb', line 8

def update
  Digicert::Request.new(
    :put, resource_update_path, **attributes
  ).run
end