module TokyoMetro::Factory::Seed::Reference::OperationDay
Private Instance Methods
operation_day_id( operation_day_name_en )
click to toggle source
# File lib/tokyo_metro/factory/seed/reference/operation_day.rb, line 9 def operation_day_id( operation_day_name_en ) operation_day_ids( operation_day_name_en ).first end
operation_day_ids( *args )
click to toggle source
# File lib/tokyo_metro/factory/seed/reference/operation_day.rb, line 5 def operation_day_ids( *args ) ::TokyoMetro::Factory::Seed::Static::OperationDay.find_or_create_by_and_get_ids_of( *args ) end