Class: Verizon::AccuracyModeEnum

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

Overview

Accurary, currently only 0-coarse supported.

Constant Summary collapse

ACCURACY_MODE_ENUM =
[
  # TODO: Write general description for ENUM_0
  ENUM_0 = '0'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



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

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

  ACCURACY_MODE_ENUM.include?(value)
end