Class: Ufebs::Requests::GroupStatusAnswer
- Inherits:
-
Object
- Object
- Ufebs::Requests::GroupStatusAnswer
- Includes:
- HappyMapper
- Defined in:
- lib/ufebs/requests/group_status_answer.rb
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ GroupStatusAnswer
constructor
A new instance of GroupStatusAnswer.
- #set_ed_infos(value) ⇒ Object
Constructor Details
#initialize(params = {}) ⇒ GroupStatusAnswer
Returns a new instance of GroupStatusAnswer.
24 25 26 27 28 29 30 31 32 |
# File 'lib/ufebs/requests/group_status_answer.rb', line 24 def initialize(params = {}) params.each do |key, value| case key.to_sym when :initial_ed then @initial_ed = Ufebs::Entities::EdRefId.new(value) when :ed_infos then @ed_infos = set_ed_infos(value) else instance_variable_set("@#{key}".to_sym, value) end end end |