Class: Labimotion::ShareResolver::OwnerRef

Inherits:
Struct
  • Object
show all
Defined in:
lib/labimotion/libs/share_resolver.rb

Overview

An owner entry in the context: the share row's user id survives even when the user record cannot be resolved, so a departed-and-purged owner still shows as "user #id (unknown)" instead of losing the id the transfer flow needs.

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



58
59
60
# File 'lib/labimotion/libs/share_resolver.rb', line 58

def id
  @id
end

#userObject

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



58
59
60
# File 'lib/labimotion/libs/share_resolver.rb', line 58

def user
  @user
end