Sha256: f81dfc55b182d949caa68ec4c5fd2a3e03f3369ec37598509ec71b2f5913cd16
Contents?: true
Size: 283 Bytes
Versions: 3
Compression:
Stored size: 283 Bytes
Contents
require 'token_authenticate_me/models/authenticatable' class User < ActiveRecord::Base include TokenAuthenticateMe::Models::Authenticatable has_many :#{session_model_plural_name} def as_json(options=nil) { #{authenticate_model_singular_name}: super(options) } end end
Version data entries
3 entries across 3 versions & 1 rubygems