Class: Peddler::Feeds::OrderCancellation::Batch
- Defined in:
- lib/peddler/feeds.rb
Constant Summary
Constants inherited from Feed
Instance Attribute Summary
Attributes inherited from Feed
#batch, #completed_processing_at, #download, #file_content, #id, #messages_processed, #messages_successful, #messages_with_errors, #messages_with_warnings, #started_processing_at, #status, #submitted_at, #type
Instance Method Summary collapse
-
#initialize(transport) ⇒ Batch
constructor
A new instance of Batch.
Methods inherited from Feed
Constructor Details
#initialize(transport) ⇒ Batch
Returns a new instance of Batch.
155 156 157 158 159 160 |
# File 'lib/peddler/feeds.rb', line 155 def initialize(transport) @file_header = "TemplateType=OrderCancellation Version=1.0/1.0.3 This row for Amazon.com use only. Do not modify or delete.\r\n" + "order-id\tcancellation-reason-code\tamazon-order-item-code\r\n" @type = '_POST_FLAT_FILE_ORDER_ACKNOWLEDGEMENT_DATA_' super(transport) end |