Class: GlobalSign::DnsVerificationForIssue::Request

Inherits:
Request
  • Object
show all
Defined in:
lib/global_sign/dns_verification_for_issue/request.rb

Instance Method Summary collapse

Methods inherited from Request

#auth_token_hash, #auth_token_params, #to_xml

Constructor Details

#initialize(order_id:, approver_fqdn:) ⇒ Request

Returns a new instance of Request.



4
5
6
7
# File 'lib/global_sign/dns_verification_for_issue/request.rb', line 4

def initialize(order_id:, approver_fqdn:)
  @order_id      = order_id
  @approver_fqdn = approver_fqdn
end

Instance Method Details

#actionObject



13
14
15
# File 'lib/global_sign/dns_verification_for_issue/request.rb', line 13

def action
  'DVDNSVerificationForIssue'
end

#paramsObject



21
22
23
24
25
26
# File 'lib/global_sign/dns_verification_for_issue/request.rb', line 21

def params
  {
    OrderID:      @order_id,
    ApproverFQDN: @approver_fqdn,
  }
end

#pathObject



9
10
11
# File 'lib/global_sign/dns_verification_for_issue/request.rb', line 9

def path
  'ServerSSLService'
end

#request_headerObject



17
18
19
# File 'lib/global_sign/dns_verification_for_issue/request.rb', line 17

def request_header
  :OrderRequestHeader
end