Class: WeConnect::Status
- Inherits:
-
Object
- Object
- WeConnect::Status
- Defined in:
- lib/weconnect/const.rb
Constant Summary collapse
- UNKNOWN =
0
- DEACTIVATED =
1001
- INITIALLY_DISABLED =
1003
- DISABLED_BY_USER =
1004
- OFFLINE_MODE =
1005
- WORKSHOP_MODE =
1006
- MISSING_OPERATION =
1007
- MISSING_SERVICE =
1008
- PLAY_PROTECTION =
1009
- POWER_BUDGET_REACHED =
1010
- DEEP_SLEEP =
1011
- LOCATION_DATA_DISABLED =
1013
- LICENSE_INACTIVE =
2001
- LICENSE_EXPIRED =
2002
- MISSING_LICENSE =
2003
- USER_NOT_VERIFIED =
3001
- TERMS_AND_CONDITIONS_NOT_ACCEPTED =
3002
- INSUFFICIENT_RIGHTS =
3003
- CONSENT_MISSING =
3004
- LIMITED_FEATURE =
3005
- AUTH_APP_CERT_ERROR =
3006
- STATUS_UNSUPPORTED =
4001
- KNOWN_STATUS =
self.constants.inject([]){|result,const| result << self.const_get(const)}
Class Method Summary collapse
Class Method Details
.known_status?(status) ⇒ Boolean
57 58 59 |
# File 'lib/weconnect/const.rb', line 57 def self.known_status? status KNOWN_STATUS.include? status end |