Method: Verizon::DeviceFirmwareUpgrade#initialize
- Defined in:
- lib/verizon/models/device_firmware_upgrade.rb
#initialize(device_id = nil, campaign_id = nil, account_name = nil, start_date = nil, status = nil, reason = nil, firmware_name = SKIP, firmware_from = SKIP, firmware_to = SKIP, report_updated_time = SKIP) ⇒ DeviceFirmwareUpgrade
Returns a new instance of DeviceFirmwareUpgrade.
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'lib/verizon/models/device_firmware_upgrade.rb', line 83 def initialize(device_id = nil, campaign_id = nil, account_name = nil, start_date = nil, status = nil, reason = nil, firmware_name = SKIP, firmware_from = SKIP, firmware_to = SKIP, report_updated_time = SKIP) @device_id = device_id @campaign_id = campaign_id @account_name = account_name @firmware_name = firmware_name unless firmware_name == SKIP @firmware_from = firmware_from unless firmware_from == SKIP @firmware_to = firmware_to unless firmware_to == SKIP @start_date = start_date @status = status @reason = reason @report_updated_time = report_updated_time unless report_updated_time == SKIP end |