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