Class: TranslationCms::Api::Customers::Feature
- Extended by:
- EnumField::EnumeratedAttribute, HstoreTranslate::Translates
- Defined in:
- lib/translation_cms/api/customers/feature.rb
Class 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
Class Method Details
.get_available(order_id) ⇒ Object
44 45 46 47 48 |
# File 'lib/translation_cms/api/customers/feature.rb', line 44 def get_available(order_id) available(order_id: order_id) rescue JsonApiClient::Errors::NotFound [] end |