Class: EgovUtils::Iszr::NaturalPeople::Search

Inherits:
ActiveInteraction::Base
  • Object
show all
Defined in:
app/services/egov_utils/iszr/natural_people/search.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



12
13
14
15
16
17
# File 'app/services/egov_utils/iszr/natural_people/search.rb', line 12

def execute
  natural_person = find_person_service.run(inputs)
  errors.merge!(natural_person.errors) unless natural_person.valid?

  natural_person.result
end