Class: SessionIdentity

Inherits:
Object
  • Object
show all
Defined in:
lib/log_analysis/model/session_identity.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params) ⇒ SessionIdentity

Returns a new instance of SessionIdentity.



4
5
6
7
# File 'lib/log_analysis/model/session_identity.rb', line 4

def initialize(params)
  @user    = params[:user]
  @records = params[:records]
end

Instance Attribute Details

#recordsObject

Returns the value of attribute records.



2
3
4
# File 'lib/log_analysis/model/session_identity.rb', line 2

def records
  @records
end

#userObject

Returns the value of attribute user.



2
3
4
# File 'lib/log_analysis/model/session_identity.rb', line 2

def user
  @user
end