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.



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

def initialize(user)
  @user = user
end

Instance Attribute Details

#userObject (readonly)

Returns the value of attribute user.



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

def user
  @user
end