Class: LWS::Presence::Person

Inherits:
Generic::Model show all
Defined in:
lib/lws/apps/presence.rb

Overview

The person class

Instance Attribute Summary collapse

Instance Attribute Details

#companyLWS::Auth::Company



131
# File 'lib/lws/apps/presence.rb', line 131

belongs_to :company, class_name: "LWS::Auth::Company"

#company_idFixnum



135
# File 'lib/lws/apps/presence.rb', line 135

attribute :company_id

#created_atString (readonly)



195
# File 'lib/lws/apps/presence.rb', line 195

attribute :created_at

#customer_referenceString?



139
# File 'lib/lws/apps/presence.rb', line 139

attribute :customer_reference

#eroBoolean



144
# File 'lib/lws/apps/presence.rb', line 144

attribute :ero

#extra_infoString?



148
# File 'lib/lws/apps/presence.rb', line 148

attribute :extra_info

#idFixnum (readonly)



127
# File 'lib/lws/apps/presence.rb', line 127

attribute :id

#last_syncString?



153
# File 'lib/lws/apps/presence.rb', line 153

attribute :last_sync

#latFloat?



157
# File 'lib/lws/apps/presence.rb', line 157

attribute :lat

#locationLocation



165
# File 'lib/lws/apps/presence.rb', line 165

belongs_to :location

#location_idFixnum



169
# File 'lib/lws/apps/presence.rb', line 169

attribute :location_id

#longFloat?



161
# File 'lib/lws/apps/presence.rb', line 161

attribute :long

#nameString



173
# File 'lib/lws/apps/presence.rb', line 173

attribute :name

#picture_urlString?



177
# File 'lib/lws/apps/presence.rb', line 177

attribute :picture_url

#rfidString?



181
# File 'lib/lws/apps/presence.rb', line 181

attribute :rfid

#status"available", ...



186
# File 'lib/lws/apps/presence.rb', line 186

attribute :status

#udidString?



191
# File 'lib/lws/apps/presence.rb', line 191

attribute :udid

#updated_atString (readonly)



199
# File 'lib/lws/apps/presence.rb', line 199

attribute :updated_at