Class: DeepL::Resources::LanguageFeature
- Inherits:
-
Object
- Object
- DeepL::Resources::LanguageFeature
- Defined in:
- lib/deepl/resources/language_support.rb
Overview
Support level of a single feature of a language for a resource.
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status) ⇒ LanguageFeature
constructor
A new instance of LanguageFeature.
- #to_s ⇒ Object
Constructor Details
#initialize(status) ⇒ LanguageFeature
Returns a new instance of LanguageFeature.
12 13 14 |
# File 'lib/deepl/resources/language_support.rb', line 12 def initialize(status) @status = status end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
10 11 12 |
# File 'lib/deepl/resources/language_support.rb', line 10 def status @status end |
Instance Method Details
#to_s ⇒ Object
16 17 18 |
# File 'lib/deepl/resources/language_support.rb', line 16 def to_s status.to_s end |