Class: Peddler::LegacyReports::UploadStatus

Inherits:
Status
  • Object
show all
Defined in:
lib/peddler/legacy_reports.rb

Instance Method Summary collapse

Methods inherited from Status

#id

Constructor Details

#initialize(input) ⇒ UploadStatus

Returns a new instance of UploadStatus.



95
96
97
98
99
100
101
102
103
104
105
# File 'lib/peddler/legacy_reports.rb', line 95

def initialize(input)
  @keymap = {
    "status"            => "status",
    "batchid"           => "id",
    "numberofwarnings"  => "number_of_warnings",
    "activateditems"    => "activated_items",
    "itemsnotacivated"  => "items_not_activated",
    "itemsnotactivated" => "items_not_activated",
    "dateandtime"       => "datetime"}
  super(input)
end