Class: Scim::Kit::V2::Returned
- Inherits:
-
Object
- Object
- Scim::Kit::V2::Returned
- Defined in:
- lib/scim/kit/v2/returned.rb
Overview
Represents the valid Returned values
Constant Summary collapse
- ALWAYS =
'always'
- NEVER =
'never'
- DEFAULT =
'default'
- REQUEST =
'request'
- VALID =
{ always: ALWAYS, never: NEVER, default: DEFAULT, request: REQUEST }.freeze
Class Method Summary collapse
Class Method Details
.find(value) ⇒ Object
19 20 21 |
# File 'lib/scim/kit/v2/returned.rb', line 19 def self.find(value) VALID[value.to_sym] || (raise ArgumentError, :returned) end |