Class: Verizon::AggregatedReportCallbackStatusEnum

Inherits:
Object
  • Object
show all
Defined in:
lib/verizon/models/aggregated_report_callback_status_enum.rb

Overview

QUEUED or COMPLETED. Requests for IoT devices with cacheMode=0 (cached) have status=COMPLETED; all other requests are QUEUED.

Constant Summary collapse

AGGREGATED_REPORT_CALLBACK_STATUS_ENUM =
[
  # TODO: Write general description for QUEUED
  QUEUED = 'QUEUED'.freeze,

  # TODO: Write general description for COMPLETED
  COMPLETED = 'COMPLETED'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



18
19
20
21
22
# File 'lib/verizon/models/aggregated_report_callback_status_enum.rb', line 18

def self.validate(value)
  return false if value.nil?

  AGGREGATED_REPORT_CALLBACK_STATUS_ENUM.include?(value)
end