Class: GlobalSign::DVOrder::Response

Inherits:
Response
  • Object
show all
Defined in:
lib/global_sign/dv_order/response.rb

Defined Under Namespace

Modules: XPath

Constant Summary

Constants inherited from Response

Response::SUCCESS_CODE, Response::WARNING_CODE

Instance Method Summary collapse

Methods inherited from Response

#error?, #error_code, #error_field, #error_message, #initialize, #success?, #warning?, #xpath_errors, #xpath_result

Constructor Details

This class inherits a constructor from GlobalSign::Response

Instance Method Details

#paramsObject



12
13
14
15
16
# File 'lib/global_sign/dv_order/response.rb', line 12

def params
  @params ||= {
    order_id: @xml.xpath(XPath::ORDER_ID).text
  }
end

#response_headerObject



8
9
10
# File 'lib/global_sign/dv_order/response.rb', line 8

def response_header
  :OrderResponseHeader
end