Class: Amazon::ImageExporter::Result
- Inherits:
-
Data
- Object
- Data
- Amazon::ImageExporter::Result
- Defined in:
- app/services/amazon/image_exporter.rb
Overview
Processes images for a series of items and exports them to the given directory
Provide target country ISO code to export images for that specific country marketplace, default is US which will be good for global
items if you already have a scope of items you want to export
item_skus if you want to load up items by skus
item_asins if you want to load up items by asins
In any cases, items will be filtered to only active items that have an Amazon ASIN
directory_path where you want to export the file. Otherwise default is the heatwave storage directory
Instance Attribute Summary collapse
-
#asins ⇒ Object
readonly
Returns the value of attribute asins.
-
#directory_path ⇒ Object
readonly
Returns the value of attribute directory_path.
-
#item_skus ⇒ Object
readonly
Returns the value of attribute item_skus.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
-
#zip_file_path ⇒ Object
readonly
Returns the value of attribute zip_file_path.
Instance Method Summary collapse
-
#initialize(result: nil, zip_file_path: nil, directory_path: nil, asins: nil, item_skus: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(result: nil, zip_file_path: nil, directory_path: nil, asins: nil, item_skus: nil) ⇒ Result
Returns a new instance of Result.
14 |
# File 'app/services/amazon/image_exporter.rb', line 14 def initialize(result: nil, zip_file_path: nil, directory_path: nil, asins: nil, item_skus: nil) = super |
Instance Attribute Details
#asins ⇒ Object (readonly)
Returns the value of attribute asins
13 14 15 |
# File 'app/services/amazon/image_exporter.rb', line 13 def asins @asins end |
#directory_path ⇒ Object (readonly)
Returns the value of attribute directory_path
13 14 15 |
# File 'app/services/amazon/image_exporter.rb', line 13 def directory_path @directory_path end |
#item_skus ⇒ Object (readonly)
Returns the value of attribute item_skus
13 14 15 |
# File 'app/services/amazon/image_exporter.rb', line 13 def item_skus @item_skus end |
#result ⇒ Object (readonly)
Returns the value of attribute result
13 14 15 |
# File 'app/services/amazon/image_exporter.rb', line 13 def result @result end |
#zip_file_path ⇒ Object (readonly)
Returns the value of attribute zip_file_path
13 14 15 |
# File 'app/services/amazon/image_exporter.rb', line 13 def zip_file_path @zip_file_path end |