Class: HealthVault::WCData::Types::Stringnz
- Inherits:
-
SimpleType
- Object
- SimpleType
- HealthVault::WCData::Types::Stringnz
- Defined in:
- lib/wc_data/generated/types/stringnz.rb
Overview
Stringnz is a string
Class Method Summary collapse
Instance Method Summary collapse
-
#minLength(value) ⇒ Object
minLength = 1.
Class Method Details
.valid?(value) ⇒ Boolean
27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/wc_data/generated/types/stringnz.rb', line 27 def self.valid?(value) result = true result = result && self.minLength(value) return result end |
Instance Method Details
#minLength(value) ⇒ Object
minLength = 1
18 19 20 21 22 |
# File 'lib/wc_data/generated/types/stringnz.rb', line 18 def minLength(value) return value.length > 1 end |