Class: Verizon::CallbackServiceEnum

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

Overview

Callback type. Must be ‘Fota’ for Software Management Services API.

Constant Summary collapse

CALLBACK_SERVICE_ENUM =
[
  # TODO: Write general description for FOTA
  FOTA = 'Fota'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



14
15
16
17
18
# File 'lib/verizon/models/callback_service_enum.rb', line 14

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

  CALLBACK_SERVICE_ENUM.include?(value)
end