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