Class: Verizon::ProvisioningStatusFilterEnum

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

Overview

The last status of the device as a list filter.

Constant Summary collapse

PROVISIONING_STATUS_FILTER_ENUM =
[
  # TODO: Write general description for UNKNOWN
  UNKNOWN = 'UNKNOWN'.freeze,

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



56
57
58
59
60
# File 'lib/verizon/models/provisioning_status_filter_enum.rb', line 56

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

  PROVISIONING_STATUS_FILTER_ENUM.include?(value)
end