Class: FdxV660Api::SecurityCategory8
- Inherits:
-
Object
- Object
- FdxV660Api::SecurityCategory8
- Defined in:
- lib/fdx_v660_api/models/security_category8.rb
Overview
The entity type of this security, in this case STOCK_SECURITY
Constant Summary collapse
- SECURITY_CATEGORY8 =
[ # TODO: Write general description for STOCK_SECURITY STOCK_SECURITY = 'STOCK_SECURITY'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.from_value(value, default_value = STOCK_SECURITY) ⇒ Object
20 21 22 23 24 |
# File 'lib/fdx_v660_api/models/security_category8.rb', line 20 def self.from_value(value, default_value = STOCK_SECURITY) return default_value if value.nil? default_value end |
.validate(value) ⇒ Object
14 15 16 17 18 |
# File 'lib/fdx_v660_api/models/security_category8.rb', line 14 def self.validate(value) return false if value.nil? true end |