rename some stuff in hydra to make it more clear [ci skip]
This commit is contained in:
parent
42a93f9490
commit
3e65d39b68
1 changed files with 3 additions and 3 deletions
|
|
@ -30,8 +30,8 @@ class HydraWrapper
|
||||||
end
|
end
|
||||||
|
|
||||||
# @return [Salmon]
|
# @return [Salmon]
|
||||||
def salmon
|
def xml_factory
|
||||||
@salmon ||= @dispatcher_class.salmon(@user, Base64.decode64(@encoded_object_xml))
|
@xml_factory ||= @dispatcher_class.salmon(@user, Base64.decode64(@encoded_object_xml))
|
||||||
end
|
end
|
||||||
|
|
||||||
# Group people on their receiving_urls
|
# Group people on their receiving_urls
|
||||||
|
|
@ -45,7 +45,7 @@ class HydraWrapper
|
||||||
# Inserts jobs for all @people
|
# Inserts jobs for all @people
|
||||||
def enqueue_batch
|
def enqueue_batch
|
||||||
grouped_people.each do |receive_url, people_for_receive_url|
|
grouped_people.each do |receive_url, people_for_receive_url|
|
||||||
if xml = salmon.xml_for(people_for_receive_url.first)
|
if xml = xml_factory.xml_for(people_for_receive_url.first)
|
||||||
self.insert_job(receive_url, xml, people_for_receive_url)
|
self.insert_job(receive_url, xml, people_for_receive_url)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue