Class: TranslationCms::Api::Customers::Department
- Extended by:
- HstoreTranslate::Translates
- Defined in:
- lib/translation_cms/api/customers/department.rb
Instance Method Summary collapse
Methods inherited from Base
all!, custom_scope!, default_attributes, destroy, dummy_resource!, #method_missing_with_translations_will_change, parsed!, path_with_custom_scope, resource_type!, update
Instance Method Details
#available_on ⇒ Object
15 16 17 18 19 20 |
# File 'lib/translation_cms/api/customers/department.rb', line 15 def available_on { default: !feature_ids.include?(DepartmentFeatureType..id), order_related: !feature_ids.include?(DepartmentFeatureType..id) } end |