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