Class: Models::User

Inherits:
Base
  • Object
show all
Defined in:
lib/models/user.rb

Instance Attribute Summary

Attributes inherited from Base

#client, #data

Instance Method Summary collapse

Methods inherited from Base

#base_record, #extra_records, path, #records, schema, stream, subclasses

Instance Method Details

#transformObject



18
19
20
21
22
23
24
25
26
27
28
# File 'lib/models/user.rb', line 18

def transform
  super.slice 'id',
    'username',
    'email',
    'account_type',
    'email_verified_at',
    'created_at',
    'updated_at',
    'deleted_at',
    'seen_at'
end