Class: SessionIdentity
- Inherits:
-
Object
- Object
- SessionIdentity
- Defined in:
- lib/log_analysis/model/session_identity.rb
Instance Attribute Summary collapse
-
#records ⇒ Object
Returns the value of attribute records.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(params) ⇒ SessionIdentity
constructor
A new instance of SessionIdentity.
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
#records ⇒ Object
Returns the value of attribute records.
2 3 4 |
# File 'lib/log_analysis/model/session_identity.rb', line 2 def records @records end |
#user ⇒ Object
Returns the value of attribute user.
2 3 4 |
# File 'lib/log_analysis/model/session_identity.rb', line 2 def user @user end |