Class: UffizziCore::AccountContext
- Inherits:
-
Object
- Object
- UffizziCore::AccountContext
- Defined in:
- app/contexts/uffizzi_core/account_context.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
readonly
Returns the value of attribute account.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
-
#user_access_module ⇒ Object
readonly
Returns the value of attribute user_access_module.
Instance Method Summary collapse
-
#initialize(user, user_access_module, account, params) ⇒ AccountContext
constructor
A new instance of AccountContext.
Constructor Details
#initialize(user, user_access_module, account, params) ⇒ AccountContext
Returns a new instance of AccountContext.
6 7 8 9 10 11 |
# File 'app/contexts/uffizzi_core/account_context.rb', line 6 def initialize(user, user_access_module, account, params) @user = user @user_access_module = user_access_module @account = account @params = params end |
Instance Attribute Details
#account ⇒ Object (readonly)
Returns the value of attribute account.
4 5 6 |
# File 'app/contexts/uffizzi_core/account_context.rb', line 4 def account @account end |
#params ⇒ Object (readonly)
Returns the value of attribute params.
4 5 6 |
# File 'app/contexts/uffizzi_core/account_context.rb', line 4 def params @params end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
4 5 6 |
# File 'app/contexts/uffizzi_core/account_context.rb', line 4 def user @user end |
#user_access_module ⇒ Object (readonly)
Returns the value of attribute user_access_module.
4 5 6 |
# File 'app/contexts/uffizzi_core/account_context.rb', line 4 def user_access_module @user_access_module end |