Switch to Class#class_attribute

Class#superclass_delegating_accessor was deprecated in Rails 4.2.0

https://github.com/rails/rails/pull/14271