Module: Exlibris::Primo::ChainGang::User

Included in:
EShelf, Reviews, Tags
Defined in:
lib/exlibris/primo/chain_gang/user.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#user_idObject (readonly)

Returns the value of attribute user_id


5
6
7
# File 'lib/exlibris/primo/chain_gang/user.rb', line 5

def user_id
  @user_id
end

Instance Method Details

#user_id!(user_id) ⇒ Object Also known as: user_id=

Set the user id


10
11
12
13
# File 'lib/exlibris/primo/chain_gang/user.rb', line 10

def user_id!(user_id)
  @user_id = user_id
  self
end