Class: Verizon::CallbackServiceNameEnum

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

Overview

The name of the callback service.

Constant Summary collapse

CALLBACK_SERVICE_NAME_ENUM =
[
  # TODO: Write general description for LOCATION
  LOCATION = 'Location'.freeze,

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



17
18
19
20
21
# File 'lib/verizon/models/callback_service_name_enum.rb', line 17

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

  CALLBACK_SERVICE_NAME_ENUM.include?(value)
end