Class: LWS::Presence::Notification

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

Overview

Note:

This model can only be created via LWS, never retrieved, deleted or updated.

The notification class

Instance Attribute Summary collapse

Attributes inherited from Generic::Model

#created_at, #id, #updated_at, #url, #url_html

Method Summary

Methods inherited from Generic::Model

#deep_dup, #dig, #reload, #rollback, #save

Instance Attribute Details

#locationLocation



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

belongs_to :location, uri: "locations/:id"

#location_idFixnum



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

attribute :location_id

#receiverPerson



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

belongs_to :receiver

#receiver_idInteger



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

belongs_to :receiver_id

#senderPerson



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

belongs_to :sender

#sender_idInteger



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

belongs_to :sender_id