Class: Verizon::UserEquipmentIdentityTypeEnum

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

Overview

Type of User Equipment identifier used in ‘UEIdentity`.

Constant Summary collapse

USER_EQUIPMENT_IDENTITY_TYPE_ENUM =
[
  # TODO: Write general description for IPADDRESS
  IPADDRESS = 'IPAddress'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



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

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

  USER_EQUIPMENT_IDENTITY_TYPE_ENUM.include?(value)
end