Class: HealthVault::WCData::Application::AppSmallLogo
- Inherits:
-
SimpleType
- Object
- SimpleType
- HealthVault::WCData::Application::AppSmallLogo
- Defined in:
- lib/wc_data/generated/application/app_small_logo.rb
Overview
AppSmallLogo is a base64Binary
Class Method Summary collapse
Instance Method Summary collapse
-
#maxLength(value) ⇒ Object
maxLength = 40960.
-
#minLength(value) ⇒ Object
minLength = 3.
Class Method Details
.valid?(value) ⇒ Boolean
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/wc_data/generated/application/app_small_logo.rb', line 36 def self.valid?(value) result = true result = result && self.minLength(value) result = result && self.maxLength(value) return result end |
Instance Method Details
#maxLength(value) ⇒ Object
maxLength = 40960
27 28 29 30 31 |
# File 'lib/wc_data/generated/application/app_small_logo.rb', line 27 def maxLength(value) return value.length < 40960 end |
#minLength(value) ⇒ Object
minLength = 3
18 19 20 21 22 |
# File 'lib/wc_data/generated/application/app_small_logo.rb', line 18 def minLength(value) return value.length > 3 end |