Exception: Scrimmage::Errors::AccountNotLinkedError

Inherits:
Base
  • Object
show all
Defined in:
lib/scrimmage/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(user_id) ⇒ AccountNotLinkedError

Returns a new instance of AccountNotLinkedError.



21
22
23
24
# File 'lib/scrimmage/errors.rb', line 21

def initialize(user_id)
  @user_id = user_id
  super("Account not linked")
end

Instance Attribute Details

#user_idObject (readonly)

Returns the value of attribute user_id.



19
20
21
# File 'lib/scrimmage/errors.rb', line 19

def user_id
  @user_id
end