Class: AwesomeTranslations::CacheDatabaseGenerator::Handler

Inherits:
BazaModels::Model
  • Object
show all
Defined in:
lib/awesome_translations/cache_database_generator/handler.rb

Instance Method Summary collapse

Instance Method Details

#at_handlerObject



14
15
16
# File 'lib/awesome_translations/cache_database_generator/handler.rb', line 14

def at_handler
  @at_handler ||= AwesomeTranslations::Handler.find(identifier)
end

#to_paramObject



18
19
20
# File 'lib/awesome_translations/cache_database_generator/handler.rb', line 18

def to_param
  identifier
end