Class: Ufebs::Entities::Session
- Inherits:
-
Object
- Object
- Ufebs::Entities::Session
- Includes:
- HappyMapper
- Defined in:
- lib/ufebs/entities/session.rb
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Session
constructor
A new instance of Session.
Constructor Details
#initialize(params = {}) ⇒ Session
Returns a new instance of Session.
15 16 17 18 19 20 21 22 23 |
# File 'lib/ufebs/entities/session.rb', line 15 def initialize(params = {}) params.each do |key, value| case key.to_sym when :session_id then @session_id = value when :session_type then @session_type = value when :settlement_time then @settlement_time = value end end end |