Class: DictionaryAPI::TranslationArticle
- Inherits:
-
Object
- Object
- DictionaryAPI::TranslationArticle
- Defined in:
- lib/dictionary_api/translation_article.rb
Instance Attribute Summary collapse
-
#animated ⇒ Object
Returns the value of attribute animated.
-
#aspect ⇒ Object
Returns the value of attribute aspect.
-
#example ⇒ Object
Returns the value of attribute example.
-
#gender ⇒ Object
Returns the value of attribute gender.
-
#meaning ⇒ Object
Returns the value of attribute meaning.
-
#position ⇒ Object
Returns the value of attribute position.
-
#synonym ⇒ Object
Returns the value of attribute synonym.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#animated ⇒ Object
Returns the value of attribute animated.
5 6 7 |
# File 'lib/dictionary_api/translation_article.rb', line 5 def animated @animated end |
#aspect ⇒ Object
Returns the value of attribute aspect.
5 6 7 |
# File 'lib/dictionary_api/translation_article.rb', line 5 def aspect @aspect end |
#example ⇒ Object
Returns the value of attribute example.
5 6 7 |
# File 'lib/dictionary_api/translation_article.rb', line 5 def example @example end |
#gender ⇒ Object
Returns the value of attribute gender.
5 6 7 |
# File 'lib/dictionary_api/translation_article.rb', line 5 def gender @gender end |
#meaning ⇒ Object
Returns the value of attribute meaning.
5 6 7 |
# File 'lib/dictionary_api/translation_article.rb', line 5 def meaning @meaning end |
#position ⇒ Object
Returns the value of attribute position.
5 6 7 |
# File 'lib/dictionary_api/translation_article.rb', line 5 def position @position end |
#synonym ⇒ Object
Returns the value of attribute synonym.
5 6 7 |
# File 'lib/dictionary_api/translation_article.rb', line 5 def synonym @synonym end |
#text ⇒ Object
Returns the value of attribute text.
5 6 7 |
# File 'lib/dictionary_api/translation_article.rb', line 5 def text @text end |
Instance Method Details
#attributes ⇒ Object
7 8 9 |
# File 'lib/dictionary_api/translation_article.rb', line 7 def attributes {text: text, position: position, gender: gender, animated: animated, synonym: synonym, meaning: meaning, example: example, aspect: aspect} end |