Class: EgovUtils::Iszr::NaturalPeople::SearchByRemoteId

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

Constant Summary collapse

MAPPING_CLASS =
EgovUtils::Services::Iszr::NaturalPeople

Instance Method Summary collapse

Instance Method Details

#executeObject



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

def execute
  if Rails.env.production?
    find_remote_person
  else
    find_local_person
  end
end