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