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



54
55
56
# File 'lib/labimotion/libs/share_resolver.rb', line 54

def id
  @id
end

#userObject

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



54
55
56
# File 'lib/labimotion/libs/share_resolver.rb', line 54

def user
  @user
end