class Deliver::SyncScreenshots::UploadResult
Attributes
Public Class Methods
Source
# File deliver/lib/deliver/sync_screenshots.rb, line 18 def initialize(asset_delivery_state_counts:, failing_screenshots:) @asset_delivery_state_counts = asset_delivery_state_counts @failing_screenshots = failing_screenshots end
Public Instance Methods
Source
# File deliver/lib/deliver/sync_screenshots.rb, line 23 def processing? @asset_delivery_state_counts.fetch('UPLOAD_COMPLETE', 0) > 0 end
Source
# File deliver/lib/deliver/sync_screenshots.rb, line 27 def screenshot_count @asset_delivery_state_counts.fetch('COMPLETE', 0) end