code segment in lib/apn_on_rails/app/models/apn/app.rb
def cert
(Rails.env == 'production' ? apn_prod_cert : apn_dev_cert)
end
could it be changed to
def cert
(Rails.env=='development' ? apn_dev_cert : apn_prod_cert)
end
our projects are based on different Rails.env, and I need to use both apn_notification and apn_group_notification, so I couldn't use configatron(it doesn't support group notification)
code segment in lib/apn_on_rails/app/models/apn/app.rb def cert (Rails.env == 'production' ? apn_prod_cert : apn_dev_cert) end
could it be changed to def cert (Rails.env=='development' ? apn_dev_cert : apn_prod_cert) end
our projects are based on different Rails.env, and I need to use both apn_notification and apn_group_notification, so I couldn't use configatron(it doesn't support group notification)
please help me, THANKS!