Class: GlobalSign::UrlVerificationForIssue::Request

Inherits:
Request
  • Object
show all
Defined in:
lib/global_sign/url_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_url:) ⇒ Request

Returns a new instance of Request.



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

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

Instance Method Details

#actionObject



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

def action
  'URLVerificationForIssue'
end

#paramsObject



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

def params
  {
    OrderID:     @order_id,
    ApproverURL: @approver_url,
  }
end

#pathObject



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

def path
  'ServerSSLService'
end

#request_headerObject



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

def request_header
  :OrderRequestHeader
end