class ViewModel

def model

change this, override this method.
if necessary we assume that the wrapped model is the first attribute. To
ViewModels are often used to serialize ActiveRecord models. For convenience,
def model
  self.public_send(self.class._attributes.first)
end