Sha256: 312c3a460012a9eaa005989b9537ce1c4e93b9ee6183464584fade769b6bbd9f
Contents?: true
Size: 234 Bytes
Versions: 5
Compression:
Stored size: 234 Bytes
Contents
require 'token_authenticate_me/models/authenticatable' class User < ActiveRecord::Base include TokenAuthenticateMe::Models::Authenticatable has_many :sessions def as_json(options = nil) { user: super(options) } end end
Version data entries
5 entries across 5 versions & 1 rubygems