Class: TranslationResult
- Inherits:
-
Object
- Object
- TranslationResult
- Defined in:
- lib/lita/handlers/msTranslator.rb
Instance Method Summary collapse
-
#initialize(success, message) ⇒ TranslationResult
constructor
A new instance of TranslationResult.
- #message ⇒ Object
- #success ⇒ Object
Constructor Details
#initialize(success, message) ⇒ TranslationResult
Returns a new instance of TranslationResult.
111 112 113 114 |
# File 'lib/lita/handlers/msTranslator.rb', line 111 def initialize(success, ) @success = success @message = end |
Instance Method Details
#message ⇒ Object
118 119 120 |
# File 'lib/lita/handlers/msTranslator.rb', line 118 def @message end |
#success ⇒ Object
115 116 117 |
# File 'lib/lita/handlers/msTranslator.rb', line 115 def success @success end |