Class: Verizon::ResponseCodeEnum
- Inherits:
-
Object
- Object
- Verizon::ResponseCodeEnum
- Defined in:
- lib/verizon/models/response_code_enum.rb
Overview
Possible response codes.
Constant Summary collapse
- RESPONSE_CODE_ENUM =
[ # TODO: Write general description for INVALID_ACCESS INVALID_ACCESS = 'INVALID_ACCESS'.freeze, # TODO: Write general description for INVALID_PARAMETER INVALID_PARAMETER = 'INVALID_PARAMETER'.freeze, # TODO: Write general description for INTERNAL_ERROR INTERNAL_ERROR = 'INTERNAL_ERROR'.freeze, # TODO: Write general description for SUCCESS SUCCESS = 'SUCCESS'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
23 24 25 26 27 |
# File 'lib/verizon/models/response_code_enum.rb', line 23 def self.validate(value) return false if value.nil? RESPONSE_CODE_ENUM.include?(value) end |