Module: Rails::AddOns::Service::Base::Internationalization

Included in:
Rails::AddOns::Service::Base
Defined in:
app/services/rails/add_ons/service/base.rb

Instance Method Summary collapse

Instance Method Details

#t(key, options) ⇒ Object


140
141
142
# File 'app/services/rails/add_ons/service/base.rb', line 140

def t(key, options)
  I18n.t("activemodel.#{self.class.name.underscore}#{key}", options)
end