Class: IngramMicro::SuccessResponse
- Inherits:
-
StandardResponse
- Object
- Transmission
- StandardResponse
- IngramMicro::SuccessResponse
- Defined in:
- lib/ingram_micro/transmissions/success_response.rb
Constant Summary collapse
- DESCRIPTION =
"Message Success"
Constants inherited from StandardResponse
IngramMicro::StandardResponse::TRANSMISSION_FILENAME
Constants inherited from Transmission
Instance Attribute Summary
Attributes inherited from StandardResponse
#comments, #filename, #response_timestamp, #status_code, #status_description, #transaction_name
Attributes inherited from Transmission
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ SuccessResponse
constructor
A new instance of SuccessResponse.
Methods inherited from StandardResponse
#add_message_header, #add_message_status, #to_xml, #xml_builder
Methods inherited from Transmission
#add_transaction_info, #order_builder, #schema_valid?, #send_request, #submit_request, #xml_builder
Constructor Details
#initialize(options = {}) ⇒ SuccessResponse
Returns a new instance of SuccessResponse.
4 5 6 7 8 |
# File 'lib/ingram_micro/transmissions/success_response.rb', line 4 def initialize(={}) [:status_code] = 0 [:status_description] = DESCRIPTION super() end |