Class: Decidim::DecidimAwesome::LocalizedCustomFieldsType
- Inherits:
-
Api::Types::BaseObject
- Object
- Api::Types::BaseObject
- Decidim::DecidimAwesome::LocalizedCustomFieldsType
- Defined in:
- lib/decidim/decidim_awesome/api/types/localized_custom_fields_type.rb
Overview
This type represents a localized string in a single language.
Instance Method Summary collapse
Instance Method Details
#machine_translated ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/decidim/decidim_awesome/api/types/localized_custom_fields_type.rb', line 13 def machine_translated if object.respond_to?(:machine_translated) object.machine_translated.present? else false end end |