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