Class: Verizon::AttributeIdentifierEnum

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

Overview

Attribute identifier.

Constant Summary collapse

ATTRIBUTE_IDENTIFIER_ENUM =
[
  # TODO: Write general description for NETWORK_BEARER
  NETWORK_BEARER = 'NETWORK_BEARER'.freeze,

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

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

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

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



26
27
28
29
30
# File 'lib/verizon/models/attribute_identifier_enum.rb', line 26

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

  ATTRIBUTE_IDENTIFIER_ENUM.include?(value)
end