Class: UffizziCore::AccountContext

Inherits:
Object
  • Object
show all
Defined in:
app/contexts/uffizzi_core/account_context.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, , params)
  @user = user
  @user_access_module = user_access_module
  @account = 
  @params = params
end

Instance Attribute Details

#accountObject (readonly)

Returns the value of attribute account.



4
5
6
# File 'app/contexts/uffizzi_core/account_context.rb', line 4

def 
  @account
end

#paramsObject (readonly)

Returns the value of attribute params.



4
5
6
# File 'app/contexts/uffizzi_core/account_context.rb', line 4

def params
  @params
end

#userObject (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_moduleObject (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