Class: HealthVault::WCData::Thing::Problem::Importance

Inherits:
SimpleType
  • Object
show all
Defined in:
lib/wc_data/generated/thing/problem/importance.rb

Overview

Importance is a positiveInteger

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.valid?(value) ⇒ Boolean

Returns:

  • (Boolean)


28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/wc_data/generated/thing/problem/importance.rb', line 28

def self.valid?(value)
  result = true

  
  result = result && self.maxInclusive(value)
  

  
  

  return result
end

Instance Method Details

#maxInclusive(value) ⇒ Object

maxInclusive = 5



19
20
21
22
23
# File 'lib/wc_data/generated/thing/problem/importance.rb', line 19

def maxInclusive(value)

  return true

end