Class: GlobalSign::EVOrder::Request
- Inherits:
-
Request
- Object
- Request
- GlobalSign::EVOrder::Request
show all
- Defined in:
- lib/global_sign/ev_order/request.rb
Constant Summary
collapse
- KIND_RENEWAL =
'renewal'.freeze
Instance Method Summary
collapse
-
#action ⇒ Object
-
#initialize(product_code: 'EV', order_kind:, validity_period_months:, csr:, renewal_target_order_id: nil, organization_info_ev:, requestor_info:, approver_info:, authorized_signer_info:, jurisdiction_info:, contract_info: nil) ⇒ Request
constructor
A new instance of Request.
-
#params ⇒ Object
-
#path ⇒ Object
-
#request_header ⇒ Object
Methods inherited from Request
#auth_token_hash, #auth_token_params, #to_xml
Constructor Details
#initialize(product_code: 'EV', order_kind:, validity_period_months:, csr:, renewal_target_order_id: nil, organization_info_ev:, requestor_info:, approver_info:, authorized_signer_info:, jurisdiction_info:, contract_info: nil) ⇒ Request
Returns a new instance of Request.
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# File 'lib/global_sign/ev_order/request.rb', line 6
def initialize(product_code: 'EV', order_kind:, validity_period_months:, csr:, renewal_target_order_id: nil, organization_info_ev:, requestor_info:, approver_info:, authorized_signer_info:, jurisdiction_info:, contract_info: nil)
@product_code = product_code
@order_kind = order_kind
@validity_period_months = validity_period_months
@csr = csr
@renewal_target_order_id = renewal_target_order_id
@organization_info_ev = organization_info_ev
@requestor_info = requestor_info
@approver_info = approver_info
@authorized_signer_info = authorized_signer_info
@jurisdiction_info = jurisdiction_info
@contract_info = contract_info || GlobalSign.contract
end
|
Instance Method Details
#action ⇒ Object
24
25
26
|
# File 'lib/global_sign/ev_order/request.rb', line 24
def action
'EVOrder'
end
|
#params ⇒ Object
32
33
34
35
36
37
38
39
40
41
42
|
# File 'lib/global_sign/ev_order/request.rb', line 32
def params
@params = {
OrderRequestParameter: order_request_parameter,
OrganizationInfoEV: organization_info_ev,
RequestorInfo: requestor_info,
ApproverInfo: approver_info,
AuthorizedSignerInfo: authorized_signer_info,
JurisdictionInfo: jurisdiction_info,
ContactInfo: contact_info
}
end
|
#path ⇒ Object
20
21
22
|
# File 'lib/global_sign/ev_order/request.rb', line 20
def path
'ServerSSLService'
end
|
28
29
30
|
# File 'lib/global_sign/ev_order/request.rb', line 28
def
:OrderRequestHeader
end
|