Exception: Pageflow::EditLock::HeldByOtherUserError

Inherits:
Error
  • Object
show all
Defined in:
app/models/pageflow/edit_lock.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Error

#code

Constructor Details

#initialize(user) ⇒ HeldByOtherUserError

Returns a new instance of HeldByOtherUserError


16
17
18
# File 'app/models/pageflow/edit_lock.rb', line 16

def initialize(user)
  @user = user
end

Instance Attribute Details

#userObject (readonly)

Returns the value of attribute user


14
15
16
# File 'app/models/pageflow/edit_lock.rb', line 14

def user
  @user
end