Merge branch 'master' of github.com:domify/registry

This commit is contained in:
Martin Lensment 2015-06-12 11:41:31 +03:00
commit 6fc64d8bbf

View file

@ -7,7 +7,7 @@ class Pricelist < ActiveRecord::Base
:valid_from, :category, :operation_category, :duration, presence: true :valid_from, :category, :operation_category, :duration, presence: true
CATEGORIES = %w(ee pri.ee fie.ee med.ee com.ee) CATEGORIES = %w(ee pri.ee fie.ee med.ee com.ee)
OPERATION_CATEGORIES = %w(new renew) OPERATION_CATEGORIES = %w(create renew)
DURATIONS = %w(1year 2years 3years) DURATIONS = %w(1year 2years 3years)
after_initialize :init_values after_initialize :init_values