Exception: Masq::Account::AlreadyActivated
- Inherits:
-
StandardError
- Object
- StandardError
- Masq::Account::AlreadyActivated
- Defined in:
- app/models/masq/account.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(account, message = nil) ⇒ AlreadyActivated
constructor
A new instance of AlreadyActivated.
Constructor Details
#initialize(account, message = nil) ⇒ AlreadyActivated
Returns a new instance of AlreadyActivated.
33 34 35 |
# File 'app/models/masq/account.rb', line 33 def initialize(account, = nil) @message, @account = , account end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
32 33 34 |
# File 'app/models/masq/account.rb', line 32 def @message end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
32 33 34 |
# File 'app/models/masq/account.rb', line 32 def user @user end |