Class: Verizon::ReportStatusEnum

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

Overview

Status of the report.

Constant Summary collapse

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

  # TODO: Write general description for INPROGRESS
  INPROGRESS = 'INPROGRESS'.freeze,

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



20
21
22
23
24
# File 'lib/verizon/models/report_status_enum.rb', line 20

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

  REPORT_STATUS_ENUM.include?(value)
end