Class: LightService::I18n::LocalizationAdapter
- Inherits:
-
Object
- Object
- LightService::I18n::LocalizationAdapter
- Defined in:
- lib/light-service/i18n/localization_adapter.rb
Instance Method Summary collapse
- #failure(message_or_key, action_class, options = {}) ⇒ Object
- #success(message_or_key, action_class, options = {}) ⇒ Object
Instance Method Details
#failure(message_or_key, action_class, options = {}) ⇒ Object
4 5 6 7 8 |
# File 'lib/light-service/i18n/localization_adapter.rb', line 4 def failure(, action_class, = {}) (, action_class, .merge(:type => :failure)) end |
#success(message_or_key, action_class, options = {}) ⇒ Object
10 11 12 13 14 |
# File 'lib/light-service/i18n/localization_adapter.rb', line 10 def success(, action_class, = {}) (, action_class, .merge(:type => :success)) end |