Class: Decidim::Core::LocalizedStringType
- Inherits:
-
Api::Types::BaseObject
- Object
- Api::Types::BaseObject
- Decidim::Core::LocalizedStringType
- Defined in:
- lib/decidim/api/types/localized_string_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/api/types/localized_string_type.rb', line 13 def machine_translated if object.respond_to?(:machine_translated) object.machine_translated.present? else false end end |