Class: Verizon::ProfileStatusFilterEnum
- Inherits:
-
Object
- Object
- Verizon::ProfileStatusFilterEnum
- Defined in:
- lib/verizon/models/profile_status_filter_enum.rb
Overview
The last status of the device’s profile as a filter.
Constant Summary collapse
- PROFILE_STATUS_FILTER_ENUM =
[ # TODO: Write general description for ENABLE ENABLE = 'ENABLE'.freeze, # TODO: Write general description for DISABLE DISABLE = 'DISABLE'.freeze, # TODO: Write general description for DOWNLOAD_DISABLE DOWNLOAD_DISABLE = 'DOWNLOAD_DISABLE'.freeze, # TODO: Write general description for DOWNLOAD_ENABLE DOWNLOAD_ENABLE = 'DOWNLOAD_ENABLE'.freeze, # TODO: Write general description for NOT_DOWNLOADED NOT_DOWNLOADED = 'NOT_DOWNLOADED'.freeze, # TODO: Write general description for UNKNOWN UNKNOWN = 'UNKNOWN'.freeze, # TODO: Write general description for DELETE DELETE = 'DELETE'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
32 33 34 35 36 |
# File 'lib/verizon/models/profile_status_filter_enum.rb', line 32 def self.validate(value) return false if value.nil? PROFILE_STATUS_FILTER_ENUM.include?(value) end |